IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2010, 6:10:24 PM (16 years ago)
Author:
heather
Message:

added -set_note to disttool

File:
1 edited

Legend:

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

    r26997 r27184  
    462462    PXOPT_LOOKUP_STR(outdir, config->args, "-set_outdir", false, false);
    463463    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
     464    PXOPT_LOOKUP_STR(set_note, config->args, "-set_note", false, false);
    464465
    465466    if ((!state) && (!label) && (!fault)) {
     
    485486        psStringAppend(&query, " , distRun.fault = %d", fault);
    486487    }
     488
     489    if (set_note) {
     490        psStringAppend(&query, " , distRun.note = '%s'", set_note);
     491    }
     492
    487493
    488494    psString whereClause = psDBGenerateWhereConditionSQL(where, NULL);
Note: See TracChangeset for help on using the changeset viewer.