Changeset 7014 for trunk/psastro/src/psastroArguments.c
- Timestamp:
- Apr 30, 2006, 12:15:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroArguments.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroArguments.c
r6911 r7014 1 1 # include "psastro.h" 2 2 # include <glob.h> 3 // XXX leak free 2006.04.27 3 4 4 5 static void usage (void) { … … 9 10 pmConfig *psastroArguments (int *argc, char **argv) { 10 11 12 bool status; 11 13 int N; 12 14 … … 16 18 psLogSetFormat ("M"); 17 19 18 // these other options override the PS PHOTrecipe options20 // these other options override the PSASTRO recipe options 19 21 psMetadata *options = psMetadataAlloc (); 20 22 … … 27 29 28 30 // load config data from default locations 29 pmConfig *config = pmConfigRead (argc, argv);31 pmConfig *config = pmConfigRead (argc, argv); 30 32 31 33 // Storage for other command-line arguments … … 43 45 } 44 46 45 status = pmConfigFileSetsMD (config->arguments, "INPUT", "-file", "-list");47 status = pmConfigFileSetsMD (config->arguments, argc, argv, "INPUT", "-file", "-list"); 46 48 if (!status) { usage ();} 47 49
Note:
See TracChangeset
for help on using the changeset viewer.
