Commit 5bb43e6d by Brooks Moses Committed by Brooks Moses

PRR doc/31355

PRR doc/31355
* doc/invoke.texi (--help=): Document <languages> value, fix
formatting in tables of values.

From-SVN: r123497
parent a0884cf0
2007-04-04 Brooks Moses <brooks.moses@codesourcery.com>
PR doc/31355
* doc/invoke.texi (--help=): Document <languages> value, fix
formatting in tables of values.
2007-04-04 Danny Smith <dannysmith.users.sourceforge.net> 2007-04-04 Danny Smith <dannysmith.users.sourceforge.net>
* config/i386/winnt-cxx.c (i386_pe_type_dllimport_p): Don't ignore * config/i386/winnt-cxx.c (i386_pe_type_dllimport_p): Don't ignore
......
...@@ -1102,43 +1102,48 @@ line options for each tool. ...@@ -1102,43 +1102,48 @@ line options for each tool.
@item --help=@var{class}@r{[},@var{qualifier}@r{]} @item --help=@var{class}@r{[},@var{qualifier}@r{]}
Print (on the standard output) a description of the command line Print (on the standard output) a description of the command line
options understood by the compiler that fit into a specific class. options understood by the compiler that fit into a specific class.
The class can be one of @var{optimizers}, @var{warnings}, @var{target} The class can be one of @samp{optimizers}, @samp{warnings}, @samp{target},
or @var{params}: @samp{params}, or @var{language}:
@table @gcctabopt @table @asis
@item @var{optimizers} @item @samp{optimizers}
This will display all of the optimization options supported by the This will display all of the optimization options supported by the
compiler. compiler.
@item @var{warnings} @item @samp{warnings}
This will display all of the options controlling warning messages This will display all of the options controlling warning messages
produced by the compiler. produced by the compiler.
@item @var{target} @item @samp{target}
This will display target-specific options. Unlike the This will display target-specific options. Unlike the
@option{--target-help} option however, target-specific options of the @option{--target-help} option however, target-specific options of the
linker and assembler will not be displayed. This is because those linker and assembler will not be displayed. This is because those
tools do not currently support the extended @option{--help=} syntax. 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} This will display the values recognized by the @option{--param}
option. 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 @end table
It is possible to further refine the output of the @option{--help=} It is possible to further refine the output of the @option{--help=}
option by adding a comma separated list of qualifiers after the option by adding a comma separated list of qualifiers after the
class. These can be any from the following list: class. These can be any from the following list:
@table @gcctabopt @table @asis
@item undocumented @item @samp{undocumented}
Display only those options which are undocumented. Display only those options which are undocumented.
@item joined @item @samp{joined}
Display options which take an argument that appears after an equal Display options which take an argument that appears after an equal
sign in the same continuous piece of text, such as: sign in the same continuous piece of text, such as:
@samp{--help=target}. @samp{--help=target}.
@item separate @item @samp{separate}
Display options which take an argument that appears as a separate word Display options which take an argument that appears as a separate word
following the original option, such as: @samp{-o output-file}. following the original option, such as: @samp{-o output-file}.
@end table @end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment