IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2006, 4:07:32 PM (20 years ago)
Author:
jhoblitt
Message:

add -simple to -pending

File:
1 edited

Legend:

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

    r8175 r8186  
    112112    }
    113113
    114     if (!ippdbPrintMetadatas(stdout, result, "rawDetrendExp", true)) {
     114    bool simple = false;
     115    {
     116        bool status = false;
     117        simple = psMetadataLookupBool(&status, config->args, "-simple");
     118        if (!status) {
     119            psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -simple");
     120            return false;
     121        }
     122    }
     123
     124    // negative simple so the default is true
     125    if (!ippdbPrintMetadatas(stdout, result, "rawDetrendExp", !simple)) {
    115126        psError(PS_ERR_UNKNOWN, false, "failed to print array");
    116127        psFree(result);
Note: See TracChangeset for help on using the changeset viewer.