summaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-27 13:26:51 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-27 13:26:51 +0000
commite045701e493a4b7ea7833947768df7d9808a3902 (patch)
treec8cad1ef016ba9b981950df693c16a7f48ee531a /gcc/invoke.texi
parent9ae139a22bb69a6debf5e705d44bc2d0bff05a23 (diff)
downloadgcc-e045701e493a4b7ea7833947768df7d9808a3902.tar.gz
Ignore empty target specific options, and if -W is also specified on the
command line then display undocumented options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23366 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 3e6356a8c25..162a1e69a4f 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -87,7 +87,7 @@ in the following sections.
@item Overall Options
@xref{Overall Options,,Options Controlling the Kind of Output}.
@smallexample
--c -S -E -o @var{file} -pipe -v -x @var{language}
+-c -S -E -o @var{file} -pipe -v --help -x @var{language}
@end smallexample
@item C Language Options
@@ -558,6 +558,15 @@ Use pipes rather than temporary files for communication between the
various stages of compilation. This fails to work on some systems where
the assembler is unable to read from a pipe; but the GNU assembler has
no trouble.
+
+@item --help
+Print (on the standard output) a description of the command line options
+understood by @code{gcc}. If the @code{-v} option is also specified
+then @code{--help} will also be passed on to the various processes
+invoked by @code{gcc}, so that they can display the command line options
+they accept. If the @code{-W} option is also specified then command
+line options which have no documentation associated with them will also
+be displayed.
@end table
@node Invoking G++