Changeset 11997 for trunk/ippTools/src/chiptoolConfig.c
- Timestamp:
- Feb 21, 2007, 6:49:43 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/chiptoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptoolConfig.c
r11843 r11997 27 27 #include "p2tool.h" 28 28 29 pxConfig * p2toolConfig(pxConfig *config, int argc, char **argv) {29 pxConfig *chiptoolConfig(pxConfig *config, int argc, char **argv) { 30 30 if (!config) { 31 31 config = pxConfigAlloc(); … … 199 199 200 200 psMetadata *argSets = psMetadataAlloc(); 201 PXTOOL_MODE("-queuerawexp", P2TOOL_MODE_QUEUERAWEXP, queuerawexpArgs);202 PXTOOL_MODE("-pendingimfile", P2TOOL_MODE_PENDINGIMFILE, pendingimfileArgs);203 PXTOOL_MODE("-addprocessedimfile", P2TOOL_MODE_ADDPROCESSEDIMFILE,addprocessedimfileArgs);204 PXTOOL_MODE("-processedimfile", P2TOOL_MODE_PROCESSEDIMFILE, processedimfileArgs);205 PXTOOL_MODE("-updateprocessedimfile", P2TOOL_MODE_UPDATEPROCESSEDIMFILE, updateprocessedimfileArgs);206 PXTOOL_MODE("-block", P2TOOL_MODE_BLOCK, blockArgs);207 PXTOOL_MODE("-masked", P2TOOL_MODE_MASKED, maskedArgs);208 PXTOOL_MODE("-unblock", P2TOOL_MODE_UNBLOCK, unblockArgs);201 PXTOOL_MODE("-queuerawexp", CHIPTOOL_MODE_QUEUERAWEXP, queuerawexpArgs); 202 PXTOOL_MODE("-pendingimfile", CHIPTOOL_MODE_PENDINGIMFILE, pendingimfileArgs); 203 PXTOOL_MODE("-addprocessedimfile",CHIPTOOL_MODE_ADDPROCESSEDIMFILE,addprocessedimfileArgs); 204 PXTOOL_MODE("-processedimfile",CHIPTOOL_MODE_PROCESSEDIMFILE, processedimfileArgs); 205 PXTOOL_MODE("-updateprocessedimfile",CHIPTOOL_MODE_UPDATEPROCESSEDIMFILE, updateprocessedimfileArgs); 206 PXTOOL_MODE("-block", CHIPTOOL_MODE_BLOCK, blockArgs); 207 PXTOOL_MODE("-masked", CHIPTOOL_MODE_MASKED, maskedArgs); 208 PXTOOL_MODE("-unblock", CHIPTOOL_MODE_UNBLOCK, unblockArgs); 209 209 210 210 bool argErr = false; 211 if (config->mode == P2TOOL_MODE_NONE) {211 if (config->mode == CHIPTOOL_MODE_NONE) { 212 212 argErr = true; 213 213 fprintf (stderr, "mode argument is required\n"); … … 218 218 219 219 if (argErr) { 220 printf("\nPan-STARRS Phase 2 SearchTool\n\n");220 printf("\nPan-STARRS Chip Tool\n\n"); 221 221 printf("Usage: %s <mode> [<options>]\n\n", argv[0]); 222 222 printf(" <mode> :\n\n");
Note:
See TracChangeset
for help on using the changeset viewer.
