Fixed [ 797576 ] -help seems to imply that only tcl-specific options exist

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-09-01 17:21:40 +00:00
commit dbf4f328f9

View file

@ -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();