Index: /trunk/psastro/src/psastroArguments.c
===================================================================
--- /trunk/psastro/src/psastroArguments.c	(revision 12991)
+++ /trunk/psastro/src/psastroArguments.c	(revision 12992)
@@ -7,7 +7,7 @@
 
     if (argc == 1) {
-	psError(PSASTRO_ERR_ARGUMENTS, true, "No arguments supplied");
-	psErrorStackPrint(stderr, "exit");
-	return NULL;
+        psError(PSASTRO_ERR_ARGUMENTS, true, "No arguments supplied");
+        psErrorStackPrint(stderr, "exit");
+        return NULL;
     }
 
@@ -16,5 +16,5 @@
     if (config == NULL) {
         psError(PSASTRO_ERR_CONFIG, false, "Can't read site configuration");
-	psErrorStackPrint(stderr, "exit");
+        psErrorStackPrint(stderr, "exit");
         return NULL;
     }
@@ -58,17 +58,17 @@
     }
 
-    status = pmConfigFileSetsMD (config->arguments, config, "INPUT", "-file", "-list");
+    status = pmConfigFileSetsMD (config->arguments, &argc, argv, "INPUT", "-file", "-list");
     if (!status) {
-	psError(PSASTRO_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)");
-	psErrorStackPrint(stderr, "exit");
-	return NULL;
+        psError(PSASTRO_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)");
+        psErrorStackPrint(stderr, "exit");
+        return NULL;
     }
-    
+
     if (argc != 2) {
-	psError(PSASTRO_ERR_ARGUMENTS, true, "Incorrect arguments supplied");
-	psErrorStackPrint(stderr, "exit");
-	return NULL;
+        psError(PSASTRO_ERR_ARGUMENTS, true, "Incorrect arguments supplied");
+        psErrorStackPrint(stderr, "exit");
+        return NULL;
     }
-    
+
     // output positions is fixed
     psMetadataAddStr (config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "", argv[1]);
