IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 28, 2008, 5:16:41 PM (18 years ago)
Author:
bills
Message:

Add a timeout parameter

File:
1 edited

Legend:

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

    r18172 r18762  
    5151    psMetadataAddStr(args , PS_LIST_TAIL, "-telescope",  0,
    5252        "telescope name (required)", "");
     53    psMetadataAddS32(args, PS_LIST_TAIL, "-timeout",  0,
     54        "HTTP timeout", 0);
     55
    5356
    5457    bool status = false;
     
    6164        fprintf(stderr, "error parsing arguments\n");
    6265        printf("\nPan-STARRS Phase Z Get Exposures Tool\n");
    63         printf("Usage: %s -uri <uri> -inst <camera> -telescope <telescope>\n\n",
     66        printf("Usage: %s -uri <uri> -inst <camera> -telescope <telescope> [-timeout <n>]\n\n",
    6467            argv[0]);
    6568        psArgumentHelp(args);
Note: See TracChangeset for help on using the changeset viewer.