IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30437


Ignore:
Timestamp:
Jan 28, 2011, 7:53:36 PM (15 years ago)
Author:
bills
Message:

Fix pztool -updatepzexp
Cannot use -camera as a selector because it is used for different purposes.
Use -inst

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r30353 r30437  
    917917  PS_ASSERT_PTR_NON_NULL(config, false);
    918918  PXOPT_LOOKUP_STR(exp_name, config->args, "-exp_name", true, false);
    919   PXOPT_LOOKUP_STR(camera,   config->args, "-camera",   true, false);
     919  PXOPT_LOOKUP_STR(camera,   config->args, "-inst",   true, false);
    920920  PXOPT_LOOKUP_STR(telescope,config->args, "-telescope",true, false);
    921921  PXOPT_LOOKUP_STR(state,    config->args, "-set_state",true, false);
  • trunk/ippTools/src/pztoolConfig.c

    r30353 r30437  
    159159    psMetadata *updatepzexpArgs = psMetadataAlloc();
    160160    psMetadataAddStr(updatepzexpArgs, PS_LIST_TAIL, "-exp_name",   0,            "search by exposure name (required)", NULL);
    161     psMetadataAddStr(updatepzexpArgs, PS_LIST_TAIL, "-camera",     0,            "search by camera (required)", NULL);
     161    psMetadataAddStr(updatepzexpArgs, PS_LIST_TAIL, "-inst",       0,            "search by camera (required)", NULL);
    162162    psMetadataAddStr(updatepzexpArgs, PS_LIST_TAIL, "-telescope",  0,            "search by telescope (required)", NULL);
    163163    psMetadataAddStr(updatepzexpArgs, PS_LIST_TAIL, "-set_state",  0,            "define new state (required)", NULL);
Note: See TracChangeset for help on using the changeset viewer.