Changeset 10973
- Timestamp:
- Jan 8, 2007, 2:40:01 PM (19 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
regtool.c (modified) (2 diffs)
-
regtoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtool.c
r10972 r10973 176 176 } 177 177 178 bool faulted = psMetadataLookupU64(&status, config->args, "-faulted"); 179 if (!status) { 180 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -faulted"); 181 return false; 182 } 183 178 184 // select newImfiles that: 179 185 // exp_tag is in newExp … … 192 198 " AND rawDetrendExp.exp_tag IS NULL" 193 199 ); 200 201 if (faulted) { 202 psStringAppend(&query, " %s", "AND newImfile.flags > 0"); 203 } 194 204 195 205 // treat limit == 0 as "no limit" -
trunk/ippTools/src/regtoolConfig.c
r10972 r10973 68 68 psMetadataAddU64(pendingimfileArgs, PS_LIST_TAIL, "-limit", 0, 69 69 "limit result set to N items", 0); 70 psMetadataAddBool(pendingimfileArgs, PS_LIST_TAIL, "-faulted", 0, 71 "only return imfiles with a fault status set", false); 70 72 psMetadataAddBool(pendingimfileArgs, PS_LIST_TAIL, "-simple", 0, 71 73 "use the simple output format", false);
Note:
See TracChangeset
for help on using the changeset viewer.
