diff mbox series

[doc,committed] document that --help and --help=<value> options cannot be combined

Message ID 15f26fe3-8fe2-f57e-946f-0a470059ef06@codesourcery.com
State New
Headers show
Series [doc,committed] document that --help and --help=<value> options cannot be combined | expand

Commit Message

Sandra Loosemore Nov. 18, 2018, 4:14 a.m. UTC
This patch is for PR 31357.  I've applied the patch in the issue with a 
minor copy-edit.

-Sandra
diff mbox series

Patch

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 266239)
+++ doc/invoke.texi	(working copy)
@@ -1676,7 +1676,9 @@  optimization options, use:
 
 The @option{--help=} option can be repeated on the command line.  Each
 successive use displays its requested class of options, skipping
-those that have already been displayed.
+those that have already been displayed.  If @option{--help} is also
+specified anywhere on the command line then this takes precedence
+over any @option{--help=} option.
 
 If the @option{-Q} option appears on the command line before the
 @option{--help=} option, then the descriptive text displayed by