Changeset 17741
- Timestamp:
- May 19, 2008, 11:35:28 AM (18 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pzgetimfiles.c (modified) (1 diff)
-
pzgetimfilesConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pzgetimfiles.c
r17740 r17741 76 76 PXOPT_LOOKUP_STR(telescope, config->args, "-telescope", true, false); 77 77 78 // optional 79 PXOPT_LOOKUP_S32(timeout, config->args, "-timeout", false, false); 80 78 81 // invoke dsfilesetls 79 82 psString cmd = NULL; 80 83 psStringAppend(&cmd, "%s --uri %s", FILESET_LS_CMD, uri); 84 if (timeout) { 85 psStringAppend(&cmd, " --timeout %d", timeout); 86 } 81 87 82 88 psTrace("pzgetimfiles", PS_LOG_INFO, "cmd is: %s\n", cmd); -
trunk/ippTools/src/pzgetimfilesConfig.c
r14600 r17741 53 53 psMetadataAddStr(args, PS_LIST_TAIL, "-telescope", 0, 54 54 "Telescope ID (required)", NULL); 55 psMetadataAddS32(args, PS_LIST_TAIL, "-timeout", 0, 56 "HTTP timeout", 0); 55 57 56 58 … … 65 67 fprintf(stderr, "error parsing arguments\n"); 66 68 printf("\nPan-STARRS Phase Z Get Imfiles Tool\n"); 67 printf("Usage: %s -uri <uri> -filesetid <id> \n\n", argv[0]);69 printf("Usage: %s -uri <uri> -filesetid <id> -inst <camera> -telescope <telescope [-timeout <n>]\n\n", argv[0]); 68 70 psArgumentHelp(args); 69 71 psFree(args);
Note:
See TracChangeset
for help on using the changeset viewer.
