IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32764 for trunk/ippTools


Ignore:
Timestamp:
Nov 22, 2011, 12:48:44 PM (15 years ago)
Author:
bills
Message:

Drop -unique option add -rerun for -definebyquery

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r32750 r32764  
    195195
    196196    // default
    197     PXOPT_LOOKUP_BOOL(unique, config->args, "-unique", false);
     197    PXOPT_LOOKUP_BOOL(rerun, config->args, "-rerun", false);
    198198    PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false);
    199199    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
     
    213213    psFree(where);
    214214
    215     if (unique) {
     215    if (!rerun) {
    216216      psStringAppend(&query, "AND vp_id IS NULL");
    217217    }
  • trunk/ippTools/src/vptoolConfig.c

    r32511 r32764  
    5050    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-label", PS_META_DUPLICATE_OK, "search by newExp label (LIKE comparison)", NULL);
    5151
    52     psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_label",  0,            "define label", NULL);
     52    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_label",  0,            "define label (required)", NULL);
    5353    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_data_group",  0,      "define data group", NULL);
    5454    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_workdir",  0,            "define workdir (required)", NULL);
     
    5656    psMetadataAddS64(definebyqueryArgs, PS_LIST_TAIL, "-set_dest_id",  0,      "define destination", 0);
    5757    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-pretend",  0,            "do not actually modify the database", false);
    58     psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-unique",   0,           "only queue exposures that have no previous vpRun", false);
     58    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-rerun",   0,           "queue exposures even if a previous vpRun exists", false);
    5959    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-simple",  0,            "use the simple output format", false);
    6060    // -pendingrun
Note: See TracChangeset for help on using the changeset viewer.