Changeset 17899 for trunk/ppConfigDump/src/ppConfigDump.c
- Timestamp:
- Jun 4, 2008, 10:01:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppConfigDump/src/ppConfigDump.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppConfigDump/src/ppConfigDump.c
r16915 r17899 62 62 arguments = psMetadataAlloc(); 63 63 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 siteconfiguration", NULL);64 psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-user", 0, "Filename for user configuration", NULL); 65 65 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); 68 69 psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-camera", 0, "Filename for camera configuration", NULL); 69 70 psMetadataAddStr(arguments, PS_LIST_TAIL, "-dump-format", 0, "Filename for camera format", NULL); … … 114 115 psFree(phu); 115 116 } else { 116 // Now we have the camera, we can read the recipes117 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); 119 120 psErrorStackPrint(stderr, "problem read recipes!\n"); 120 121 die(PS_EXIT_SYS_ERROR); 121 }122 } 122 123 } 123 124
Note:
See TracChangeset
for help on using the changeset viewer.
