Index: /trunk/ippTools/src/flatcorr.c
===================================================================
--- /trunk/ippTools/src/flatcorr.c	(revision 16504)
+++ /trunk/ippTools/src/flatcorr.c	(revision 16505)
@@ -152,4 +152,7 @@
     PXOPT_LOOKUP_STR(end_stage, config->args, "-set_end_stage", false, false);
 
+    PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false);
+    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
+
     // find the exp_id of all the exposures that we want to queue up.
     psString query = pxDataGet("chiptool_find_rawexp.sql");
@@ -180,4 +183,19 @@
     if (!psArrayLength(output)) {
         psTrace("chiptool", PS_LOG_INFO, "no rows found");
+        psFree(output);
+        return true;
+    }
+
+    if (pretend) {
+        // negative simple so the default is true
+	for (int i = 0; i < output->n; i++) {
+	    psMetadata *md = output->data[i];
+	    psMetadataConfigPrint (stdout, md);
+	}
+//        if (!rawExpPrintObjects(stdout, output, !simple)) {
+//            psError(PS_ERR_UNKNOWN, false, "failed to print array");
+//            psFree(output);
+//            return false;
+//        }
         psFree(output);
         return true;
