IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2008, 11:28:13 AM (18 years ago)
Author:
jhoblitt
Message:

add -all opt

File:
1 edited

Legend:

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

    r18762 r18919  
    7676    //optional
    7777    PXOPT_LOOKUP_S32(timeout, config->args, "-timeout", false, false);
     78    PXOPT_LOOKUP_BOOL(all, config->args, "-all", false);
    7879
    7980    // find last fileset/exp_name (if we have one)
    8081    bool haveLastFileSet = false;
    8182    psString lastFileSet = NULL;
    82     {
     83
     84    // -all means "request all known filesets"
     85    if (!all) {
    8386        char *query = "SELECT * from summitExp WHERE camera = \"%s\" and TELESCOPE = \"%s\" ORDER BY dateobs DESC LIMIT 1";
    8487        if (!p_psDBRunQuery(config->dbh, query, camera, telescope)) {
Note: See TracChangeset for help on using the changeset viewer.