IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2008, 11:35:28 AM (18 years ago)
Author:
jhoblitt
Message:

add pzgetimfiles -timeout option

File:
1 edited

Legend:

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

    r17740 r17741  
    7676    PXOPT_LOOKUP_STR(telescope, config->args, "-telescope", true, false);
    7777
     78    // optional
     79    PXOPT_LOOKUP_S32(timeout, config->args, "-timeout", false, false);
     80
    7881    // invoke dsfilesetls
    7982    psString cmd = NULL;
    8083    psStringAppend(&cmd, "%s --uri %s", FILESET_LS_CMD, uri);
     84    if (timeout) {
     85        psStringAppend(&cmd, " --timeout %d", timeout);
     86    }
    8187
    8288    psTrace("pzgetimfiles", PS_LOG_INFO, "cmd is: %s\n", cmd);
Note: See TracChangeset for help on using the changeset viewer.