Changeset 16704 for trunk/ppStack/src/ppStackArguments.c
- Timestamp:
- Feb 27, 2008, 5:38:21 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackArguments.c
r16622 r16704 124 124 psMetadataAddBool(arguments, PS_LIST_TAIL, "-variance", 0, "Use variance for rejection?", false); 125 125 psMetadataAddBool(arguments, PS_LIST_TAIL, "-safe", 0, "Play safe with small numbers of pixels to combine?", false); 126 psMetadataAddStr(arguments, PS_LIST_TAIL, "-temp-image", 0, "Suffix for temporary images", NULL); 127 psMetadataAddStr(arguments, PS_LIST_TAIL, "-temp-mask", 0, "Suffix for temporary masks", NULL); 128 psMetadataAddStr(arguments, PS_LIST_TAIL, "-temp-weight", 0, "Suffix for temporary weight maps", NULL); 129 psMetadataAddBool(arguments, PS_LIST_TAIL, "-temp-delete", 0, "Delete temporary files on completion?", false); 126 130 127 131 if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 3) { … … 188 192 } 189 193 194 valueArgStr(config, arguments, "-temp-image", "TEMP.IMAGE", config->arguments); 195 valueArgStr(config, arguments, "-temp-mask", "TEMP.MASK", config->arguments); 196 valueArgStr(config, arguments, "-temp-weight", "TEMP.WEIGHT", config->arguments); 197 198 if (psMetadataLookupBool(NULL, arguments, "-temp-delete") || 199 psMetadataLookupBool(NULL, recipe, "TEMP.DELETE")) { 200 psMetadataAddBool(config->arguments, PS_LIST_TAIL, "TEMP.DELETE", 0, 201 "Delete temporary files on completion?", true); 202 } 203 204 190 205 psTrace("ppStack", 1, "Done reading command-line arguments\n"); 191 206 psFree(arguments);
Note:
See TracChangeset
for help on using the changeset viewer.
