IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8041


Ignore:
Timestamp:
Aug 1, 2006, 3:23:59 PM (20 years ago)
Author:
jhoblitt
Message:

rename all -recipe options to -recip

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r7845 r8041  
    613613        return false;
    614614    }
    615     psString recipe = psMetadataLookupStr(&status, config->args, "-recipe");
    616     if (!status) {
    617         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe");
     615    psString recipe = psMetadataLookupStr(&status, config->args, "-recip");
     616    if (!status) {
     617        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recip");
    618618        return false;
    619619    }
    620620    if (!recipe) {
    621         psError(PS_ERR_UNKNOWN, true, "-recipe is required");
     621        psError(PS_ERR_UNKNOWN, true, "-recip is required");
    622622        return false;
    623623    }
     
    959959        return false;
    960960    }
    961     psString recipe = psMetadataLookupStr(&status, config->args, "-recipe");
    962     if (!status) {
    963         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe");
     961    psString recipe = psMetadataLookupStr(&status, config->args, "-recip");
     962    if (!status) {
     963        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recip");
    964964        return false;
    965965    }
    966966    if (!recipe) {
    967         psError(PS_ERR_UNKNOWN, true, "-recipe is required");
     967        psError(PS_ERR_UNKNOWN, true, "-recip is required");
    968968        return false;
    969969    }
     
    13081308        return false;
    13091309    }
    1310     psString recipe = psMetadataLookupStr(&status, config->args, "-recipe");
    1311     if (!status) {
    1312         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe");
     1310    psString recipe = psMetadataLookupStr(&status, config->args, "-recip");
     1311    if (!status) {
     1312        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recip");
    13131313        return false;
    13141314    }
    13151315    if (!recipe) {
    1316         psError(PS_ERR_UNKNOWN, true, "-recipe is required");
     1316        psError(PS_ERR_UNKNOWN, true, "-recip is required");
    13171317        return false;
    13181318    }
     
    15791579        return false;
    15801580    }
    1581     psString recipe = psMetadataLookupStr(&status, config->args, "-recipe");
    1582     if (!status) {
    1583         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe");
     1581    psString recipe = psMetadataLookupStr(&status, config->args, "-recip");
     1582    if (!status) {
     1583        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recip");
    15841584        return false;
    15851585    }
    15861586    if (!recipe) {
    1587         psError(PS_ERR_UNKNOWN, true, "-recipe is required");
     1587        psError(PS_ERR_UNKNOWN, true, "-recip is required");
    15881588        return false;
    15891589    }
     
    17331733        return false;
    17341734    }
    1735     psString recipe = psMetadataLookupStr(&status, config->args, "-recipe");
    1736     if (!status) {
    1737         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe");
     1735    psString recipe = psMetadataLookupStr(&status, config->args, "-recip");
     1736    if (!status) {
     1737        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recip");
    17381738        return false;
    17391739    }
    17401740    if (!recipe) {
    1741         psError(PS_ERR_UNKNOWN, true, "-recipe is required");
     1741        psError(PS_ERR_UNKNOWN, true, "-recip is required");
    17421742        return false;
    17431743    }
     
    17521752    bool accept = psMetadataLookupBool(&status, config->args, "-accept");
    17531753    if (!status) {
    1754         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe");
     1754        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recip");
    17551755        return false;
    17561756    }
  • trunk/ippTools/src/dettoolConfig.c

    r7822 r8041  
    8181    psMetadataAddStr(addprocArgs, PS_LIST_TAIL, "-stats",  0,
    8282        "define stat (required)", NULL);
    83     psMetadataAddStr(addprocArgs, PS_LIST_TAIL, "-recipe",  0,
     83    psMetadataAddStr(addprocArgs, PS_LIST_TAIL, "-recip",  0,
    8484        "define recipe (required)", NULL);
    8585
     
    113113    psMetadataAddStr(addstacArgs, PS_LIST_TAIL, "-stats",  0,
    114114        "define stat (required)", NULL);
    115     psMetadataAddStr(addstacArgs, PS_LIST_TAIL, "-recipe",  0,
     115    psMetadataAddStr(addstacArgs, PS_LIST_TAIL, "-recip",  0,
    116116        "define recipe (required)", NULL);
    117117   
     
    126126    psMetadataAddStr(stacArgs, PS_LIST_TAIL, "-stats",  0,
    127127        "search for stats", NULL);
    128     psMetadataAddStr(stacArgs, PS_LIST_TAIL, "-recipe",  0,
     128    psMetadataAddStr(stacArgs, PS_LIST_TAIL, "-recip",  0,
    129129        "search for recipe", NULL);
    130130
     
    139139    psMetadataAddStr(stacframeArgs, PS_LIST_TAIL, "-stats",  0,
    140140        "search for stats", NULL);
    141     psMetadataAddStr(stacframeArgs, PS_LIST_TAIL, "-recipe",  0,
     141    psMetadataAddStr(stacframeArgs, PS_LIST_TAIL, "-recip",  0,
    142142        "search for recipe", NULL);
    143143 
     
    154154    psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-stats",  0,
    155155        "define stat (required)", NULL);
    156     psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-recipe",  0,
     156    psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-recip",  0,
    157157        "define recipe (required)", NULL);
    158158
     
    167167    psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-stats",  0,
    168168        "search for stats", NULL);
    169     psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-recipe",  0,
     169    psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-recip",  0,
    170170        "search for recipe", NULL);
    171171
     
    180180    psMetadataAddStr(normalizedframeArgs, PS_LIST_TAIL, "-stats",  0,
    181181        "search for stats", NULL);
    182     psMetadataAddStr(normalizedframeArgs, PS_LIST_TAIL, "-recipe",  0,
     182    psMetadataAddStr(normalizedframeArgs, PS_LIST_TAIL, "-recip",  0,
    183183        "search for recipe", NULL);
    184184
     
    195195    psMetadataAddStr(addresidArgs, PS_LIST_TAIL, "-stats",  0,
    196196        "define stats (required)", NULL);
    197     psMetadataAddStr(addresidArgs, PS_LIST_TAIL, "-recipe",  0,
     197    psMetadataAddStr(addresidArgs, PS_LIST_TAIL, "-recip",  0,
    198198        "define recipe (required)", NULL);
    199199
     
    210210    psMetadataAddStr(residArgs, PS_LIST_TAIL, "-stats",  0,
    211211        "search for stats", NULL);
    212     psMetadataAddStr(residArgs, PS_LIST_TAIL, "-recipe",  0,
     212    psMetadataAddStr(residArgs, PS_LIST_TAIL, "-recip",  0,
    213213        "search for recipe", NULL);
    214214 
     
    223223    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-stats",  0,
    224224        "define stats (required)", NULL);
    225     psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-recipe",  0,
     225    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-recip",  0,
    226226        "define recipe (required)", NULL);
    227227    psMetadataAddBool(addresidexpArgs, PS_LIST_TAIL, "-accept",  0,
     
    238238    psMetadataAddStr(residexpArgs, PS_LIST_TAIL, "-stats",  0,
    239239        "search for stats", NULL);
    240     psMetadataAddStr(residexpArgs, PS_LIST_TAIL, "-recipe",  0,
     240    psMetadataAddStr(residexpArgs, PS_LIST_TAIL, "-recip",  0,
    241241        "search for recipe", NULL);
    242242    psMetadataAddBool(residexpArgs, PS_LIST_TAIL, "-accept",  0,
Note: See TracChangeset for help on using the changeset viewer.