From 1756036825b7994917132b96de81912974fdc02f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 17 May 2011 05:47:23 +0000 Subject: [PATCH] Help goes to stdout not stderr git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12676 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/octave.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/octave.cxx b/Source/Modules/octave.cxx index b46214463..11fbc46fd 100644 --- a/Source/Modules/octave.cxx +++ b/Source/Modules/octave.cxx @@ -15,7 +15,7 @@ char cvsroot_octave_cxx[] = "$Id$"; #include "swigmod.h" -static bool global_load = true; +static bool global_load = true; static String *global_name = 0; static String *op_prefix = 0; @@ -71,7 +71,7 @@ public: for (int i = 1; i < argc; i++) { if (argv[i]) { if (strcmp(argv[i], "-help") == 0) { - fputs(usage, stderr); + fputs(usage, stdout); } else if (strcmp(argv[i], "-global") == 0) { global_load = true; Swig_mark_arg(i);