Index: trunk/ppMerge/src/ppMergeOptions.c
===================================================================
--- trunk/ppMerge/src/ppMergeOptions.c	(revision 9996)
+++ trunk/ppMerge/src/ppMergeOptions.c	(revision 10270)
@@ -58,4 +58,5 @@
     options->combine->nKeep = 1;
     options->combine->maskVal = 0xff;
+    options->combine->weights = false;
 
     return options;
@@ -67,10 +68,12 @@
 
 // Parse a recipe option according to its type
-#define OPTION_PARSE(OPTION,MD,NAME,TYPE)                                                                    \
-{                                                                                                            \
-    psMetadataItem *item = psMetadataLookup(MD, NAME);                                                       \
-    if (item) {                                                                                              \
-        OPTION = psMetadataItemParse##TYPE(item);                                                            \
-    }                                                                                                        \
+#define OPTION_PARSE(OPTION,MD,NAME,TYPE) \
+{ \
+    psMetadataItem *item = psMetadataLookup(MD, NAME); \
+    if (item) { \
+        OPTION = psMetadataItemParse##TYPE(item); \
+    } else { \
+        psWarning("Recipe option %s isn't specified; using default.\n", NAME); \
+    } \
 }
 
@@ -139,4 +142,5 @@
     OPTION_PARSE(options->combine->nKeep,    recipe, "NKEEP",          S32);
     OPTION_PARSE(options->combine->maskVal,  recipe, "MASKVAL",        S32);
+    OPTION_PARSE(options->combine->weights,  recipe, "WEIGHTS",        Bool);
     OPTION_PARSE(options->fringeNum,         recipe, "FRINGE.NUM",     S32);
     OPTION_PARSE(options->fringeSize,        recipe, "FRINGE.SIZE",    S32);
