Changeset 10439 for trunk/ppImage/src/ppFocusArguments.c
- Timestamp:
- Dec 4, 2006, 11:51:33 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppFocusArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppFocusArguments.c
r8751 r10439 18 18 19 19 // load the site-wide configuration information 20 pmConfig *config = pmConfigRead(&argc, argv );20 pmConfig *config = pmConfigRead(&argc, argv, RECIPE_NAME); 21 21 if (config == NULL) { 22 22 psErrorStackPrint(stderr, "Can't find site configuration!\n"); … … 24 24 } 25 25 26 // save the following additional recipe values based on command-line options 27 // these options override the PPIMAGE recipe values loaded from recipe files 28 psMetadata *options = pmConfigRecipeOptions (config, RECIPE_NAME); 29 26 30 // save these recipe options until we have loaded the options 27 psMetadata *options = psMetadataAlloc ();28 psMetadataAddPtr (config->arguments, PS_LIST_TAIL, "PPIMAGE.OPTIONS", PS_DATA_METADATA, "", options);31 // psMetadata *options = psMetadataAlloc (); 32 // psMetadataAddPtr (config->arguments, PS_LIST_TAIL, "PPIMAGE.OPTIONS", PS_DATA_METADATA, "", options); 29 33 30 34 // the following options override the PPIMAGE recipe options
Note:
See TracChangeset
for help on using the changeset viewer.
