IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

rename all -recipe options to -recip

File:
1 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    }
Note: See TracChangeset for help on using the changeset viewer.