Changeset 10833 for trunk/psastro/src/psastroArguments.c
- Timestamp:
- Dec 26, 2006, 6:26:37 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroArguments.c
r10438 r10833 12 12 } 13 13 14 // basic pslib options15 psLogSetFormat ("M");16 17 14 // load config data from default locations 18 15 pmConfig *config = pmConfigRead(&argc, argv, PSASTRO_RECIPE); … … 23 20 24 21 // save the following additional recipe values based on command-line options 25 // these options override the PS PHOTrecipe values loaded from recipe files22 // these options override the PSASTRO recipe values loaded from recipe files 26 23 psMetadata *options = pmConfigRecipeOptions (config, PSASTRO_RECIPE); 27 24 … … 43 40 if ((N = psArgumentGet (argc, argv, "-mosastro"))) { 44 41 psArgumentRemove (N, &argc, argv); 45 psMetadataAddStr (config->arguments, PS_LIST_TAIL, "MOSA STRO", PS_DATA_STRING, "", psStringCopy(argv[N]));42 psMetadataAddStr (config->arguments, PS_LIST_TAIL, "MOSAIC.MODE", PS_DATA_BOOL, "", psStringCopy(argv[N])); 46 43 psArgumentRemove (N, &argc, argv); 47 44 }
Note:
See TracChangeset
for help on using the changeset viewer.
