Index: trunk/psLib/src/types/psArguments.c
===================================================================
--- trunk/psLib/src/types/psArguments.c	(revision 13563)
+++ trunk/psLib/src/types/psArguments.c	(revision 13582)
@@ -7,6 +7,6 @@
  *  @author David Robbins, MHPCC
  *
- *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-05-31 02:57:51 $
+ *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-06-01 03:37:19 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -506,5 +506,5 @@
 }
 
-void psArgumentHelpSimple(psMetadata *arguments)
+void psArgumentHelpSimple(FILE *stream, psMetadata *arguments)
 {
     PS_ASSERT_PTR_NON_NULL(arguments, );
@@ -521,5 +521,5 @@
     while ((item = psMetadataGetAndIncrement(iter))) {
         // Initial indent + name + indent + comment
-        printf("%*s" "%-*s" "%*s" "%s\n",
+        fprintf(stream, "%*s" "%-*s" "%*s" "%s\n",
                 NUM_SPACES, " ",
                 maxName, item->name,
Index: trunk/psLib/src/types/psArguments.h
===================================================================
--- trunk/psLib/src/types/psArguments.h	(revision 13563)
+++ trunk/psLib/src/types/psArguments.h	(revision 13582)
@@ -5,6 +5,6 @@
  *  @author David Robbins, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-05-30 22:43:58 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-06-01 03:37:19 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -74,4 +74,5 @@
 /** Prints to stdout a simplifed guide to the command-line arguments.      */
 void psArgumentHelpSimple(
+    FILE *stream,                      ///< FILE* to write too
     psMetadata *arguments              ///< metadata container for arguments
 );
