diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-15 02:04:54 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-15 02:04:54 +0000 |
commit | 564b75a4c6964768b537c737bb5c6e947032f309 (patch) | |
tree | c6c546846704a82961661960510a2812f45d1104 /docs | |
parent | d9d46241ece12351fce06b55baad2c83b50922a6 (diff) | |
download | external_llvm-564b75a4c6964768b537c737bb5c6e947032f309.zip external_llvm-564b75a4c6964768b537c737bb5c6e947032f309.tar.gz external_llvm-564b75a4c6964768b537c737bb5c6e947032f309.tar.bz2 |
Clarify the documentation a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CompilerDriver.html | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/docs/CompilerDriver.html b/docs/CompilerDriver.html index 769d053..fcd66ba 100644 --- a/docs/CompilerDriver.html +++ b/docs/CompilerDriver.html @@ -263,13 +263,18 @@ separate option groups syntactically.</p> <li><p class="first">Possible option types:</p> <blockquote> <ul class="simple"> -<li><tt class="docutils literal"><span class="pre">switch_option</span></tt> - a simple boolean switch, for example <tt class="docutils literal"><span class="pre">-time</span></tt>.</li> -<li><tt class="docutils literal"><span class="pre">parameter_option</span></tt> - option that takes an argument, for example -<tt class="docutils literal"><span class="pre">-std=c99</span></tt>;</li> +<li><tt class="docutils literal"><span class="pre">switch_option</span></tt> - a simple boolean switch without arguments, +for example <tt class="docutils literal"><span class="pre">-O2</span></tt> or <tt class="docutils literal"><span class="pre">-time</span></tt>.</li> +<li><tt class="docutils literal"><span class="pre">parameter_option</span></tt> - option that takes one argument, for +example <tt class="docutils literal"><span class="pre">-std=c99</span></tt>. It is also allowed to use spaces instead of +the equality sign: <tt class="docutils literal"><span class="pre">-std</span> <span class="pre">c99</span></tt>.</li> <li><tt class="docutils literal"><span class="pre">parameter_list_option</span></tt> - same as the above, but more than one -occurence of the option is allowed.</li> -<li><tt class="docutils literal"><span class="pre">prefix_option</span></tt> - same as the parameter_option, but the option name -and parameter value are not separated.</li> +option occurence is allowed.</li> +<li><tt class="docutils literal"><span class="pre">prefix_option</span></tt> - same as the parameter_option, but the option +name and argument do not have to be separated. Example: +<tt class="docutils literal"><span class="pre">-ofile</span></tt>. This can be also specified as <tt class="docutils literal"><span class="pre">-o</span> <span class="pre">file</span></tt>; however, +<tt class="docutils literal"><span class="pre">-o=file</span></tt> will be parsed incorrectly (<tt class="docutils literal"><span class="pre">=file</span></tt> will be +interpreted as option value).</li> <li><tt class="docutils literal"><span class="pre">prefix_list_option</span></tt> - same as the above, but more than one occurence of the option is allowed; example: <tt class="docutils literal"><span class="pre">-lm</span> <span class="pre">-lpthread</span></tt>.</li> <li><tt class="docutils literal"><span class="pre">alias_option</span></tt> - a special option type for creating @@ -588,7 +593,7 @@ status code.</p> <a href="mailto:foldr@codedgers.com">Mikhail Glushenkov</a><br /> <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br /> -Last modified: $Date$ +Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $ </address></div> </div> </div> |