aboutsummaryrefslogtreecommitdiff
path: root/Source/Modules/main.cxx
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-04 07:36:37 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-04 18:46:50 +0000
commit849512f56568182f059ac71b3f0a508a38b83846 (patch)
treeaa06027c10851f916d34543a8aed7212a811a3a2 /Source/Modules/main.cxx
parent9defd8e0330ebd491b2102bb7dc6d6b43715c712 (diff)
downloadswig-849512f56568182f059ac71b3f0a508a38b83846.tar.gz
Add missing command line options to documentation
Options were taken from the output of running swig -help.
Diffstat (limited to 'Source/Modules/main.cxx')
-rw-r--r--Source/Modules/main.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
index 58cc4f7d3..e302241bd 100644
--- a/Source/Modules/main.cxx
+++ b/Source/Modules/main.cxx
@@ -97,7 +97,7 @@ static const char *usage2 = (const char *) "\
-Fmicrosoft - Display error/warning messages in Microsoft format\n\
-Fstandard - Display error/warning messages in commonly used format\n\
-fvirtual - Compile in virtual elimination mode\n\
- -help - This output\n\
+ -help - Display help\n\
-I- - Don't search the current directory\n\
-I<dir> - Look for SWIG files in directory <dir>\n\
-ignoremissing - Ignore missing include files\n\
@@ -130,14 +130,14 @@ static const char *usage3 = (const char *) "\
";
static const char *usage4 = (const char *) "\
- -O - Enable the optimization options: \n\
- -fastdispatch -fvirtual \n\
+ -O - Enable the optimization options:\n\
+ -fastdispatch -fvirtual\n\
-o <outfile> - Set name of C/C++ output file to <outfile>\n\
-oh <headfile> - Set name of C++ output header file for directors to <headfile>\n\
-outcurrentdir - Set default output dir to current dir instead of input file's path\n\
-outdir <dir> - Set language specific files output directory to <dir>\n\
-pcreversion - Display PCRE version information\n\
- -small - Compile in virtual elimination & compact mode\n\
+ -small - Compile in virtual elimination and compact mode\n\
-swiglib - Report location of SWIG library and exit\n\
-templatereduce - Reduce all the typedefs in templates\n\
-v - Run in verbose mode\n\
@@ -155,9 +155,9 @@ Options can also be defined using the SWIG_FEATURES environment variable, for ex
$ export SWIG_FEATURES\n\
$ swig -python interface.i\n\
\n\
-is equivalent to: \n\
+is equivalent to:\n\
\n\
- $ swig -Wall -python interface.i \n\
+ $ swig -Wall -python interface.i\n\
\n\
Arguments may also be passed in a file, separated by whitespace. For example:\n\
\n\