Changeset 28712 for trunk/ippTools/src/pstamptool.c
- Timestamp:
- Jul 26, 2010, 10:13:02 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pstamptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pstamptool.c
r28629 r28712 206 206 PXOPT_LOOKUP_S64(ds_id, config->args, "-ds_id", true, false); 207 207 PXOPT_LOOKUP_STR(lastFileset, config->args, "-set_last_fileset", false, false); 208 PXOPT_LOOKUP_STR(uri, config->args, "-set_uri", false, false); 208 209 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false); 209 210 PXOPT_LOOKUP_STR(label, config->args, "-set_label", false, false); … … 211 212 PXOPT_LOOKUP_BOOL(update_timestamp, config->args, "-update_timestamp", false); 212 213 213 if (!state && !lastFileset && !pollInterval && !update_timestamp && !label ) {214 if (!state && !lastFileset && !pollInterval && !update_timestamp && !label &&!uri) { 214 215 psError(PS_ERR_UNKNOWN, true, "at least one of -last_fileset or -set_state is required"); 215 216 return false; … … 222 223 } 223 224 225 if (uri) { 226 psStringAppend(&query, ", uri = '%s'", uri); 227 } 224 228 if (state) { 225 229 psStringAppend(&query, ", state = '%s'", state);
Note:
See TracChangeset
for help on using the changeset viewer.
