IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6066


Ignore:
Timestamp:
Jan 19, 2006, 5:44:11 PM (20 years ago)
Author:
jhoblitt
Message:

setup help arguments before trying to display them in all cases

File:
1 edited

Legend:

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

    r6063 r6066  
    2929    }
    3030
     31    // paul's argument parsing convention requires: -key value
     32    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-create", 0, "create the P2 tables", "");
     33    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-delete", 0, "delete the P2 tables", "");
     34
    3135    if (config->mode == P2_MODE_NONE) {
    3236        fprintf (stderr, "admin mode not specified\n");
     
    3539        exit(EXIT_FAILURE);
    3640    }
    37 
    38     // paul's argument parsing convention requires: -key value
    39     psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-create", 0, "create the P2 tables", "");
    40     psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-delete", 0, "delete the P2 tables", "");
    4141
    4242    if ((N = psArgumentGet (argc, argv, "-help"))) {
Note: See TracChangeset for help on using the changeset viewer.