IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29994 for trunk/ippTools/src


Ignore:
Timestamp:
Dec 9, 2010, 11:42:11 AM (15 years ago)
Author:
bills
Message:

in -clearstatefaults require the user to supply a new value for state

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r29611 r29994  
    11551155
    11561156    psMetadata *where = psMetadataAlloc();
    1157     // new state
    1158     PXOPT_LOOKUP_STR(new_state, config->args, "-set_state", false, false);
     1157    // new state (required
     1158    PXOPT_LOOKUP_STR(new_state, config->args, "-set_state", true, false);
    11591159    // old state (required)
    11601160    PXOPT_LOOKUP_STR(state, config->args, "-state", true, false);
  • trunk/ippTools/src/magicdstoolConfig.c

    r29611 r29994  
    163163    // -clearstatefaults
    164164    psMetadata *clearstatefaultsArgs = psMetadataAlloc();
    165     psMetadataAddStr(clearstatefaultsArgs, PS_LIST_TAIL, "-set_state", 0, "new value for state", NULL);
     165    psMetadataAddStr(clearstatefaultsArgs, PS_LIST_TAIL, "-set_state", 0, "new value for state (required)", NULL);
    166166    psMetadataAddStr(clearstatefaultsArgs, PS_LIST_TAIL, "-state", 0, "search by state (required)", NULL);
    167167    psMetadataAddS64(clearstatefaultsArgs, PS_LIST_TAIL, "-magic_ds_id", 0, "search by magictool de-streak ID", 0);
Note: See TracChangeset for help on using the changeset viewer.