Changeset 15857
- Timestamp:
- Dec 16, 2007, 12:17:28 PM (18 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
detselect.c (modified) (1 diff)
-
detselectConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/detselect.c
r14370 r15857 189 189 } 190 190 191 // XXX this needs to be more controlled: we should specifically choose the 192 // single detrend image which matches all criteria and has the latest 191 // we choose the single detrend image which matches all criteria and has the latest 193 192 // insertion date 194 psStringAppend(&query, " ORDER BY registered DESC LIMIT 1"); 193 194 // unless explicitly specified by the user, list all possible matches 195 if (!psMetadataLookupBool(NULL, config->args, "-unlimit")) { 196 psStringAppend(&query, " ORDER BY registered DESC LIMIT 1"); 197 } 195 198 196 199 if (!p_psDBRunQuery(config->dbh, query)) { -
trunk/ippTools/src/detselectConfig.c
r14023 r15857 66 66 psMetadataAddBool(searchArgs, PS_LIST_TAIL, "-simple", 0, 67 67 "use the simple output format", false); 68 psMetadataAddBool(searchArgs, PS_LIST_TAIL, "-unlimit", 0, 69 "list all possible detruns, not just the best match", false); 68 70 69 71 // -select
Note:
See TracChangeset
for help on using the changeset viewer.
