IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2010, 11:46:24 AM (16 years ago)
Author:
bills
Message:

Fix problem reported in ticket 1390. Disallow -updaterun -set_state update and print out
a suggestion on what to do.

File:
1 edited

Legend:

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

    r28109 r28202  
    289289    PXOPT_LOOKUP_STR(note, config->args,        "-set_note", false, false);
    290290
     291    if (!strcmp(state, "update")) {
     292        fprintf(stderr, "'-updaterun -set_state update' is not supported.");
     293        if (!strcmp(runTable, "chipRun")) {
     294            fprintf(stderr, " Use -setimfiletoupdate.\n");
     295        } else {
     296            fprintf(stderr, " Use -setskyfiletoupdate.\n");
     297        }
     298        exit(1);
     299    }
     300
    291301    psString dist_group = NULL;
    292302    if (has_dist_group) {
Note: See TracChangeset for help on using the changeset viewer.