From d6c234a761014669ba8ec80c4f4d84741d6efe9f Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Mon, 1 Sep 2003 17:21:40 +0000 Subject: [PATCH] Fixed [ 797576 ] -help seems to imply that only tcl-specific options exist git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5048 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/main.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx index e282d360e..e80f0a60c 100644 --- a/Source/Modules/main.cxx +++ b/Source/Modules/main.cxx @@ -486,7 +486,11 @@ int SWIG_main(int argc, char *argv[], Language *l) { // Parse language dependent options lang->main(argc,argv); - if (help) SWIG_exit (EXIT_SUCCESS); // Exit if we're in help mode + + if (help) { + Printf(stderr,"\nNote: 'swig -lang -help' displays options for a specific language module.\n\n"); + SWIG_exit (EXIT_SUCCESS); // Exit if we're in help mode + } // Check all of the options to make sure we're cool. Swig_check_options();