Changeset 11862 for trunk/dvoTools/src/dvoApplyCorrArguments.c
- Timestamp:
- Feb 16, 2007, 1:46:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/dvoTools/src/dvoApplyCorrArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dvoTools/src/dvoApplyCorrArguments.c
r11804 r11862 6 6 7 7 static void usage (void) { 8 fprintf(stderr, "USAGE: dvoApplyCorr MOSAIC.fits OUTPUT\n\n");8 fprintf(stderr, "USAGE: dvoApplyCorr -file INPUT.fits OUTPUT\n\n"); 9 9 exit (2); 10 10 } … … 50 50 } 51 51 52 if (argc != 2) usage ();53 54 52 // the input file is a required argument; if not found, we will exit 55 53 bool status = pmConfigFileSetsMD (config->arguments, config, "INPUT", "-file", "-list"); … … 58 56 } 59 57 58 pmConfigFileSetsMD (config->arguments, config, "CORR", "-corr", "-corrlist"); 59 60 if (argc != 2) usage (); 61 60 62 // Add the output image (which remain on the command-line) to the arguments list 61 63 psMetadataAddStr(config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "Name of the output image", argv[1]);
Note:
See TracChangeset
for help on using the changeset viewer.
