This patch is for PR 31357. I've applied the patch in the issue with a minor copy-edit.

-Sandra
2018-11-17  Nick Clifton  <ni...@redhat.com>
	    Sandra Loosemore  <san...@codesourcery.com>

	PR driver/31357

	gcc/
	* doc/invoke.texi (Overall Options): Document that --help and 
	--help=<value> options cannot be combined.
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

Reply via email to