IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 20, 2006, 4:54:21 PM (20 years ago)
Author:
jhoblitt
Message:

change -quick into a boolean flag

File:
1 edited

Legend:

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

    r6093 r6103  
    6565
    6666    // paul's argument parsing convention requires: -key value
    67     psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-quick",   0, "examine raw image table, write ppImage output", "");
     67    psMetadataAddBool(config->arguments, PS_LIST_TAIL, "-quick",   0, "examine raw image table, write ppImage output", false);
    6868    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-define",  0, "examine raw image table, add to pending image table", "");
    6969    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-pending", 0, "examine pending image table, write ppImage output", "");
     
    7373    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-filter",  0, "define filter of interest", "");
    7474
    75     if (! psArgumentParse(config->arguments, &argc, argv) || argc != 2) {
     75    if (! psArgumentParse(config->arguments, &argc, argv) || argc != 1) {
    7676        printf("\nPan-STARRS Phase 2 Search Tool\n\n");
    7777        printf("Usage: %s [mode] [options]\n\n", argv[0]);
Note: See TracChangeset for help on using the changeset viewer.