Index: trunk/psastro/src/psastroArguments.c
===================================================================
--- trunk/psastro/src/psastroArguments.c	(revision 6911)
+++ trunk/psastro/src/psastroArguments.c	(revision 7014)
@@ -1,4 +1,5 @@
 # include "psastro.h"
 # include <glob.h>
+// XXX leak free 2006.04.27
 
 static void usage (void) {
@@ -9,4 +10,5 @@
 pmConfig *psastroArguments (int *argc, char **argv) {
 
+    bool status;
     int N;
 
@@ -16,5 +18,5 @@
     psLogSetFormat ("M");
 
-    // these other options override the PSPHOT recipe options
+    // these other options override the PSASTRO recipe options
     psMetadata *options = psMetadataAlloc ();
 
@@ -27,5 +29,5 @@
 
     // load config data from default locations 
-    pmConfig *config = pmConfigRead(argc, argv);
+    pmConfig *config = pmConfigRead (argc, argv);
 
     // Storage for other command-line arguments
@@ -43,5 +45,5 @@
     }
 
-    status = pmConfigFileSetsMD (config->arguments, "INPUT", "-file", "-list");
+    status = pmConfigFileSetsMD (config->arguments, argc, argv, "INPUT", "-file", "-list");
     if (!status) { usage ();}
 
