Index: /branches/eam_branches/ipp-20110213/psphot/src/psphotForcedArguments.c
===================================================================
--- /branches/eam_branches/ipp-20110213/psphot/src/psphotForcedArguments.c	(revision 31147)
+++ /branches/eam_branches/ipp-20110213/psphot/src/psphotForcedArguments.c	(revision 31148)
@@ -112,4 +112,8 @@
     PS_ARGUMENTS_THREADS( psphot, config, argc, argv )
 
+    if (psArgumentGet(argc, argv, "-help") ||
+	psArgumentGet(argc, argv, "-h"))
+      writeHelpInfo(argv[0], config, stdout);
+      
     // visual : interactive display mode
     if ((N = psArgumentGet (argc, argv, "-visual"))) {
@@ -176,8 +180,4 @@
     }
 
-    if (psArgumentGet(argc, argv, "-help") ||
-	psArgumentGet(argc, argv, "-h"))
-      writeHelpInfo(argv[0], config, stdout);
-      
     // the input file is a required argument; if not found, we will exit
     status = pmConfigFileSetsMD (config->arguments, &argc, argv, "INPUT", "-file", "-list");
