diff options
author | Brooks Moses <brooks.moses@codesourcery.com> | 2007-04-04 18:09:06 +0000 |
---|---|---|
committer | Brooks Moses <brooks@gcc.gnu.org> | 2007-04-04 11:09:06 -0700 |
commit | 5bb43e6d24fcb5e66897d6f2a9e10298e8f5fdbc (patch) | |
tree | 9bf89c88902459294242aea57dc6a2cbb44b7b03 /gcc/doc | |
parent | a0884cf09ee0b132930c5ad0f16736f9681f3b07 (diff) | |
download | gcc-5bb43e6d24fcb5e66897d6f2a9e10298e8f5fdbc.zip gcc-5bb43e6d24fcb5e66897d6f2a9e10298e8f5fdbc.tar.gz gcc-5bb43e6d24fcb5e66897d6f2a9e10298e8f5fdbc.tar.bz2 |
PRR doc/31355
PRR doc/31355
* doc/invoke.texi (--help=): Document <languages> value, fix
formatting in tables of values.
From-SVN: r123497
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 09f6b67..281c634 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1102,43 +1102,48 @@ line options for each tool. @item --help=@var{class}@r{[},@var{qualifier}@r{]} Print (on the standard output) a description of the command line options understood by the compiler that fit into a specific class. -The class can be one of @var{optimizers}, @var{warnings}, @var{target} -or @var{params}: +The class can be one of @samp{optimizers}, @samp{warnings}, @samp{target}, +@samp{params}, or @var{language}: -@table @gcctabopt -@item @var{optimizers} +@table @asis +@item @samp{optimizers} This will display all of the optimization options supported by the compiler. -@item @var{warnings} +@item @samp{warnings} This will display all of the options controlling warning messages produced by the compiler. -@item @var{target} +@item @samp{target} This will display target-specific options. Unlike the @option{--target-help} option however, target-specific options of the linker and assembler will not be displayed. This is because those tools do not currently support the extended @option{--help=} syntax. -@item @var{params} +@item @samp{params} This will display the values recognized by the @option{--param} option. + +@item @var{language} +This will display the options supported for @var{language}, where +@var{language} is the name of one of the languages supported in this +version of GCC. @end table It is possible to further refine the output of the @option{--help=} option by adding a comma separated list of qualifiers after the class. These can be any from the following list: -@table @gcctabopt -@item undocumented +@table @asis +@item @samp{undocumented} Display only those options which are undocumented. -@item joined +@item @samp{joined} Display options which take an argument that appears after an equal sign in the same continuous piece of text, such as: @samp{--help=target}. -@item separate +@item @samp{separate} Display options which take an argument that appears as a separate word following the original option, such as: @samp{-o output-file}. @end table |