Changeset 8292 for trunk/ippTools/src/regtoolConfig.c
- Timestamp:
- Aug 11, 2006, 4:20:19 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtoolConfig.c
r8281 r8292 7 7 8 8 #include "pxtools.h" 9 #include "p0 search.h"9 #include "p0tool.h" 10 10 11 11 // this function can not fail -- exits on error 12 pxConfig *p0 searchConfig(pxConfig *config, int argc, char **argv) {12 pxConfig *p0toolConfig(pxConfig *config, int argc, char **argv) { 13 13 if (!config) { 14 14 config = pxConfigAlloc(); … … 146 146 147 147 // find which mode we're running under 148 PXTOOL_MODE("-pendingexp", P0 SEARCH_MODE_PENDINGEXP, pendingexpArgs);149 PXTOOL_MODE("-pendingimfile",P0 SEARCH_MODE_PENDINGIMFILE,pendingimfileArgs);150 PXTOOL_MODE("-updateexp", P0 SEARCH_MODE_UPDATEEXP, updateexpArgs);151 PXTOOL_MODE("-updateimfile", P0 SEARCH_MODE_UPDATEIMFILE,updateimfileArgs);152 PXTOOL_MODE("-rawimfile", P0 SEARCH_MODE_RAWIMFILE, rawimfileArgs);148 PXTOOL_MODE("-pendingexp", P0TOOL_MODE_PENDINGEXP, pendingexpArgs); 149 PXTOOL_MODE("-pendingimfile",P0TOOL_MODE_PENDINGIMFILE,pendingimfileArgs); 150 PXTOOL_MODE("-updateexp", P0TOOL_MODE_UPDATEEXP, updateexpArgs); 151 PXTOOL_MODE("-updateimfile", P0TOOL_MODE_UPDATEIMFILE,updateimfileArgs); 152 PXTOOL_MODE("-rawimfile", P0TOOL_MODE_RAWIMFILE, rawimfileArgs); 153 153 154 154 bool argErr = false; 155 if (config->mode == P0 SEARCH_MODE_NONE) {155 if (config->mode == P0TOOL_MODE_NONE) { 156 156 argErr = true; 157 157 fprintf (stderr, "mode argument is required\n"); … … 162 162 163 163 if (argErr) { 164 printf("\nPan-STARRS Phase 0 SearchTool\n");164 printf("\nPan-STARRS Phase 0 Tool\n"); 165 165 printf("Usage: %s <mode> [<options>]\n\n", argv[0]); 166 166 printf(" <mode> : [-pendingexp|-pendingimfile|-updateexp|-updateimfile|-rawimfile]\n\n");
Note:
See TracChangeset
for help on using the changeset viewer.
