summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2011-05-17 05:47:23 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2011-05-17 05:47:23 +0000
commit1756036825b7994917132b96de81912974fdc02f (patch)
tree5652b92c384763f81d91239c685988568379b8ca
parent06221dacaef9d5708532ed7cca0077cba4efc77d (diff)
downloadswig-1756036825b7994917132b96de81912974fdc02f.tar.gz
Help goes to stdout not stderr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Source/Modules/octave.cxx4
1 files 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);