IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 24, 2006, 5:03:35 PM (20 years ago)
Author:
jhoblitt
Message:

configure CLI options

File:
1 edited

Legend:

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

    r6882 r6975  
    1515    psMetadata *args = psMetadataAlloc();
    1616    psMetadataAddStr(args , PS_LIST_TAIL, "-uri", 0,
    17         "DataStore product URI", "");
    18     psMetadataAddStr(args , PS_LIST_TAIL, "-inst", 0,
    19         "camera name", "");
    20     psMetadataAddStr(args , PS_LIST_TAIL, "-telescope",  0,
    21         "telescope name", "");
     17        "DataStore FileSet URI", "");
     18    psMetadataAddStr(args , PS_LIST_TAIL, "-filesetid", 0,
     19        "FileSet ID", "");
    2220
    2321    bool status = false;
     
    2523        || argc != 1
    2624        || strcmp(psMetadataLookupStr(&status, args, "-uri"), "") == 0
    27         || strcmp(psMetadataLookupStr(&status, args, "-inst"), "") == 0
    28         || strcmp(psMetadataLookupStr(&status, args, "-telescope"), "") == 0
     25        || strcmp(psMetadataLookupStr(&status, args, "-filesetid"), "") == 0
    2926    ) {
    3027        fprintf(stderr, "error parsing arguments\n");
    3128        printf("\nPan-STARRS Phase Z Search Tool\n");
    32         printf("Usage: %s -uri -inst -telescope\n\n", argv[0]);
     29        printf("Usage: %s -uri <uri> -filesetid <id>\n\n", argv[0]);
    3330        psArgumentHelp(args);
    3431        psFree(config);
Note: See TracChangeset for help on using the changeset viewer.