IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 10, 2008, 3:30:05 PM (18 years ago)
Author:
eugene
Message:

fixed the options for user, system, complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppConfigDump/src/ppConfigDump.c

    r16611 r16915  
    6262    arguments = psMetadataAlloc();
    6363    psMetadataAddStr(arguments, PS_LIST_TAIL, "-file", 0, "FITS file to use for camera determination", NULL);
     64    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-user", 0, "Filename for site configuration", NULL);
    6465    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-site", 0, "Filename for site configuration", NULL);
     66    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-system", 0, "Filename for site configuration", NULL);
     67    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-complete", 0, "Filename for site configuration", NULL);
    6568    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-camera", 0, "Filename for camera configuration", NULL);
    6669    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-format", 0, "Filename for camera format", NULL);
     
    110113        psFree(format);
    111114        psFree(phu);
     115    } else {
     116        // Now we have the camera, we can read the recipes
     117        if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {
     118            psError(PS_ERR_IO, false, "Error reading recipes from camera config for %s", config->cameraName);
     119            psErrorStackPrint(stderr, "problem read recipes!\n");
     120            die(PS_EXIT_SYS_ERROR);
     121        }
    112122    }
    113123
Note: See TracChangeset for help on using the changeset viewer.