Changeset 09f0ee in git for Singular/tesths.cc
- Timestamp:
- Aug 4, 1999, 5:38:27 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c32232aa1a81fe568b2e6ee5bca289571e27ff70
- Parents:
- 019f80f3af1dbf6c4b2f012d1f608452a56c6339
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/tesths.cc
r019f80 r09f0ee 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: tesths.cc,v 1.6 5 1999-08-03 17:28:11obachman Exp $ */4 /* $Id: tesths.cc,v 1.66 1999-08-04 15:38:27 obachman Exp $ */ 5 5 6 6 /* … … 80 80 #endif 81 81 {LON_BROWSER, 1, 0, LONG_OPTION_RETURN}, 82 {LON_EMACS, 0, 0, LONG_OPTION_RETURN},83 82 {LON_NO_STDLIB, 0, 0, LONG_OPTION_RETURN}, 84 83 {LON_NO_RC, 0, 0, LONG_OPTION_RETURN}, … … 92 91 {LON_TICKS_PER_SEC, 1, 0, LONG_OPTION_RETURN}, 93 92 // undocumented options 93 {LON_EMACS, 0, 0, LONG_OPTION_RETURN}, 94 94 #ifdef HAVE_MPSR 95 95 {LON_MP_TRANSP, 1, 0, LONG_OPTION_RETURN}, … … 105 105 { 106 106 const char* name; // as in option 107 107 108 const char* arg_name;// name of argument, if has_arg > 0 108 109 const char* help; // (short) help string … … 112 113 113 114 // mention only documented options here 115 // or let help string start with // then option is like undocumented 114 116 static struct sing_option sing_longopts[] = 115 117 { … … 118 120 #endif 119 121 {LON_BROWSER, "BROWSER", "Display help in BROWSER ([x,tk]info, netscape)", ""}, 120 {LON_EMACS, 0, "Support singular-emacs mode", 0},121 122 {LON_HELP, 0, "Print help message and exit", 0}, 122 123 {LON_QUIET, 0, "Do not print start-up banner and library load messages", 0}, … … 141 142 #endif 142 143 {LON_TICKS_PER_SEC, "TICKS", "Sets unit of timer to TICKS per second", "1"}, 144 // option whose help should not clutter up the normal help stuff 145 {LON_EMACS, 0, "// Support singular-emacs mode", 0}, 143 146 { 0, 0, 0, 0 } 144 147 }; … … 188 191 { 189 192 sopt = mainGetSingOption(longopts[i].name); 190 if (sopt != NULL) 193 if (sopt != NULL && sopt->help != NULL 194 #ifdef NDEBUG 195 && *(sopt->help) != '/' 196 #endif 197 ) 191 198 { 192 199 if (longopts[i].has_arg > 0)
Note: See TracChangeset
for help on using the changeset viewer.