IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 23, 2010, 11:29:05 AM (16 years ago)
Author:
bills
Message:

add flag to -processedimfile to list faulted and unfaulted files together

File:
1 edited

Legend:

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

    r27536 r27748  
    350350    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
    351351    PXOPT_LOOKUP_BOOL(faulted, config->args, "-faulted", false);
     352    PXOPT_LOOKUP_BOOL(allfiles, config->args, "-allfiles", false);
     353    if (allfiles) {
     354        faulted = false;
     355    }
    352356    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
    353357    PXOPT_LOOKUP_BOOL(all, config->args, "-all", false);
     
    389393        // list only faulted rows
    390394        psStringAppend(&query, " %s", "AND rawImfile.fault != 0");
    391     } else {
     395    } else if (!allfiles) {
    392396        // don't list faulted rows
    393397        psStringAppend(&query, " %s", "AND rawImfile.fault = 0");
Note: See TracChangeset for help on using the changeset viewer.