IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2008, 10:01:19 AM (18 years ago)
Author:
Paul Price
Message:

Fixing argument descriptions.

File:
1 edited

Legend:

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

    r16915 r17899  
    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);
     64    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-user", 0, "Filename for user configuration", NULL);
    6565    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);
     66    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-system", 0, "Filename for system configuration", NULL);
     67    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-complete", 0, "Filename for complete configuration",
     68                     NULL);
    6869    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-camera", 0, "Filename for camera configuration", NULL);
    6970    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-format", 0, "Filename for camera format", NULL);
     
    114115        psFree(phu);
    115116    } 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);
     117        // Now we have the camera, we can read the recipes
     118        if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {
     119            psError(PS_ERR_IO, false, "Error reading recipes from camera config for %s", config->cameraName);
    119120            psErrorStackPrint(stderr, "problem read recipes!\n");
    120121            die(PS_EXIT_SYS_ERROR);
    121         }
     122        }
    122123    }
    123124
Note: See TracChangeset for help on using the changeset viewer.