Changeset 8c71e8 in git
- Timestamp:
- Sep 24, 1999, 2:24:41 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- af37b9d65a78de638493f625f1b016ba8a867a37
- Parents:
- a40c6b72997ba692cd10e9477c9a9b40da2f29a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/tesths.cc
ra40c6b r8c71e8 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: tesths.cc,v 1.7 4 1999-09-21 16:40:16 obachmanExp $ */4 /* $Id: tesths.cc,v 1.75 1999-09-24 12:24:41 Singular Exp $ */ 5 5 6 6 /* … … 69 69 != EOF) 70 70 { 71 if (optc == '?' || optc == 0) 71 if (optc == '?' || optc == 0) 72 72 { 73 73 fprintf(stderr, "Use '%s --help' for a complete list of options\n", feArgv0); … … 79 79 80 80 assume(option_index >= 0 && option_index < (int) FE_OPT_UNDEF); 81 82 if (fe_optarg == NULL && 81 82 if (fe_optarg == NULL && 83 83 (feOptSpec[option_index].type == feOptBool || 84 84 feOptSpec[option_index].has_arg == optional_argument)) … … 86 86 else 87 87 errormsg = feSetOptValue((feOptIndex) option_index, fe_optarg); 88 88 89 89 if (errormsg) 90 90 { 91 91 if (fe_optarg == NULL) 92 fprintf(stderr, "Error: Option '--%s' %s\n", 92 fprintf(stderr, "Error: Option '--%s' %s\n", 93 93 feOptSpec[option_index].name, errormsg); 94 94 else 95 fprintf(stderr, "Error: Option '--%s=%s' %s\n", 95 fprintf(stderr, "Error: Option '--%s=%s' %s\n", 96 96 feOptSpec[option_index].name, fe_optarg, errormsg); 97 97 fprintf(stderr, "Use '%s --help' for a complete list of options\n", feArgv0); … … 184 184 if (rc == NULL) rc = feFopen("~" DIR_SEPP ".singularrc", "r", buf); 185 185 if (rc == NULL) rc = feFopen(".singularrc", "r", buf); 186 186 187 187 if (rc != NULL) 188 188 { 189 190 189 if (BVERBOSE(V_LOAD_LIB)) 191 190 Print("// ** executing %s\n", buf);
Note: See TracChangeset
for help on using the changeset viewer.