diff --git a/Source/Modules/allegrocl.cxx b/Source/Modules/allegrocl.cxx index 9f3ee985e..a7423b12a 100644 --- a/Source/Modules/allegrocl.cxx +++ b/Source/Modules/allegrocl.cxx @@ -213,8 +213,8 @@ void ALLEGROCL :: main(int argc, char *argv[]) { } if (!strcmp(argv[i], "-help")) { - fprintf(stderr, "Allegro CL Options:\n"); - fprintf(stderr, + fprintf(stdout, "Allegro CL Options (available with -allegrocl)\n"); + fprintf(stdout, " -identifier-converter \n" "\tSpecifies the type of conversion to do on C identifiers to convert\n" "\tthem to symbols. There are two built-in converters: 'null' and\n" diff --git a/Source/Modules/chicken.cxx b/Source/Modules/chicken.cxx index c646777fa..da5dec9e0 100644 --- a/Source/Modules/chicken.cxx +++ b/Source/Modules/chicken.cxx @@ -129,7 +129,7 @@ CHICKEN::main(int argc, char *argv[]) for (i = 1; i < argc; i++) { if (argv[i]) { if (strcmp(argv[i], "-help") == 0) { - fputs(chicken_usage, stderr); + fputs(chicken_usage, stdout); SWIG_exit(0); } else if (strcmp(argv[i],"-proxy") == 0) { diff --git a/Source/Modules/csharp.cxx b/Source/Modules/csharp.cxx index accc345e8..d2dc4483d 100644 --- a/Source/Modules/csharp.cxx +++ b/Source/Modules/csharp.cxx @@ -169,7 +169,7 @@ class CSHARP : public Language { Swig_mark_arg(i); proxy_flag = false; } else if (strcmp(argv[i],"-help") == 0) { - Printf(stderr,"%s\n", usage); + Printf(stdout,"%s\n", usage); } } } diff --git a/Source/Modules/guile.cxx b/Source/Modules/guile.cxx index 352ab99d7..23c24e9a7 100644 --- a/Source/Modules/guile.cxx +++ b/Source/Modules/guile.cxx @@ -143,7 +143,7 @@ public: for (i = 1; i < argc; i++) { if (argv[i]) { if (strcmp (argv[i], "-help") == 0) { - fputs (guile_usage, stderr); + fputs (guile_usage, stdout); SWIG_exit (EXIT_SUCCESS); } else if (strcmp (argv[i], "-prefix") == 0) { diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index de3a435b5..6f68f0387 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -231,7 +231,7 @@ class JAVA : public Language { Swig_mark_arg(i); Printf(stderr,"Deprecated command line option: -jnicpp. C++ JNI calling convention now used when -c++ specified.\n"); } else if (strcmp(argv[i],"-help") == 0) { - Printf(stderr,"%s\n", usage); + Printf(stdout,"%s\n", usage); } } } diff --git a/Source/Modules/modula3.cxx b/Source/Modules/modula3.cxx index 27db43249..d8a224f1d 100644 --- a/Source/Modules/modula3.cxx +++ b/Source/Modules/modula3.cxx @@ -795,7 +795,7 @@ MODULA3 (): Swig_mark_arg (i); proxy_flag = false; } else if (strcmp (argv[i], "-help") == 0) { - Printf (stderr, "%s\n", usage); + Printf (stdout, "%s\n", usage); } } } diff --git a/Source/Modules/mzscheme.cxx b/Source/Modules/mzscheme.cxx index eee125b8c..64408315c 100644 --- a/Source/Modules/mzscheme.cxx +++ b/Source/Modules/mzscheme.cxx @@ -74,7 +74,7 @@ public: for (i = 1; i < argc; i++) { if (argv[i]) { if (strcmp (argv[i], "-help") == 0) { - fputs (usage, stderr); + fputs (usage, stdout); SWIG_exit (0); } else if (strcmp (argv[i], "-prefix") == 0) { if (argv[i + 1]) { diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx index 9120821bb..ca1285706 100755 --- a/Source/Modules/ocaml.cxx +++ b/Source/Modules/ocaml.cxx @@ -108,7 +108,7 @@ public: for (i = 1; i < argc; i++) { if (argv[i]) { if (strcmp (argv[i], "-help") == 0) { - fputs (usage, stderr); + fputs (usage, stdout); SWIG_exit (0); } else if (strcmp (argv[i], "-where") == 0) { PrintIncludeArg(); diff --git a/Source/Modules/perl5.cxx b/Source/Modules/perl5.cxx index 3cac0232d..a502ceef1 100644 --- a/Source/Modules/perl5.cxx +++ b/Source/Modules/perl5.cxx @@ -161,7 +161,7 @@ public: compat = 1; Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { - fputs(usage,stderr); + fputs(usage,stdout); } } } diff --git a/Source/Modules/php4.cxx b/Source/Modules/php4.cxx index 11cd43a07..93411cdc5 100644 --- a/Source/Modules/php4.cxx +++ b/Source/Modules/php4.cxx @@ -309,7 +309,7 @@ public: gen_make = 1; Swig_mark_arg(i); } else if(strcmp(argv[i], "-help") == 0) { - fputs(usage, stderr); + fputs(usage, stdout); } } } diff --git a/Source/Modules/pike.cxx b/Source/Modules/pike.cxx index 32a0450ea..d17773f49 100644 --- a/Source/Modules/pike.cxx +++ b/Source/Modules/pike.cxx @@ -86,7 +86,7 @@ public: for (int i = 1; i < argc; i++) { if (argv[i]) { if (strcmp(argv[i],"-help") == 0) { - fputs(usage,stderr); + fputs(usage,stdout); } } } diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index bdd797a67..b66ef470c 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -173,7 +173,7 @@ public: no_header_file = 1; Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { - fputs(usage,stderr); + fputs(usage,stdout); } } } diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index ab72918f9..0c7fb257c 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -240,7 +240,7 @@ public: Swig_arg_error(); } } else if (strcmp(argv[i],"-help") == 0) { - Printf(stderr,"%s\n", usage); + Printf(stdout,"%s\n", usage); } } } diff --git a/Source/Modules/s-exp.cxx b/Source/Modules/s-exp.cxx index cd8d53718..3b6c55997 100644 --- a/Source/Modules/s-exp.cxx +++ b/Source/Modules/s-exp.cxx @@ -41,7 +41,7 @@ public: } if( strcmp( argv[iX], "-help" ) == 0 ) { - fputs( usage, stderr ); + fputs( usage, stdout ); } } diff --git a/Source/Modules/swigmain.cxx b/Source/Modules/swigmain.cxx index 8d5e843ec..c0ec6fe6e 100644 --- a/Source/Modules/swigmain.cxx +++ b/Source/Modules/swigmain.cxx @@ -176,10 +176,10 @@ int main(int margc, char **margv) { Printf(stderr,"swig: Warning. %s option deprecated.\n",argv[i]); Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { - Printf(stderr,"Target Language Options:\n"); + Printf(stdout,"Target Language Options:\n"); for (int j = 0; modules[j].name; j++) { if (modules[j].help) { - Printf(stderr," %-15s - Generate %s wrappers\n", modules[j].name, modules[j].help); + Printf(stdout," %-15s - Generate %s wrappers\n", modules[j].name, modules[j].help); } } Swig_mark_arg(i); diff --git a/Source/Modules/tcl8.cxx b/Source/Modules/tcl8.cxx index e131cce89..a4ac2459b 100644 --- a/Source/Modules/tcl8.cxx +++ b/Source/Modules/tcl8.cxx @@ -114,7 +114,7 @@ public: nosafe = 1; Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { - fputs(usage,stderr); + fputs(usage,stdout); } } } diff --git a/Source/Modules/xml.cxx b/Source/Modules/xml.cxx index 0dd6033c8..f07c70eac 100644 --- a/Source/Modules/xml.cxx +++ b/Source/Modules/xml.cxx @@ -80,7 +80,7 @@ public: } if( strcmp( argv[iX], "-help" ) == 0 ) { - fputs( usage, stderr ); + fputs( usage, stdout ); } if( strcmp( argv[iX], "-xmllite" ) == 0 ) {