IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 21, 2007, 6:49:43 PM (19 years ago)
Author:
jhoblitt
Message:

rename p[x]tools -> [foo]tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptoolConfig.c

    r11843 r11997  
    2727#include "p2tool.h"
    2828
    29 pxConfig *p2toolConfig(pxConfig *config, int argc, char **argv) {
     29pxConfig *chiptoolConfig(pxConfig *config, int argc, char **argv) {
    3030    if (!config) {
    3131        config = pxConfigAlloc();
     
    199199
    200200    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);
    209209
    210210    bool argErr = false;
    211     if (config->mode == P2TOOL_MODE_NONE) {
     211    if (config->mode == CHIPTOOL_MODE_NONE) {
    212212            argErr = true;
    213213        fprintf (stderr, "mode argument is required\n");
     
    218218
    219219    if (argErr) {
    220         printf("\nPan-STARRS Phase 2 Search Tool\n\n");
     220        printf("\nPan-STARRS Chip Tool\n\n");
    221221        printf("Usage: %s <mode> [<options>]\n\n", argv[0]);
    222222        printf(" <mode> :\n\n");
Note: See TracChangeset for help on using the changeset viewer.