From 1657e6355dc0ff933e65be1c89197f39972f61c1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 17 Nov 2018 23:09:14 -0500 Subject: [PATCH] re PR driver/31357 (document that --help and --help= options cannot be combined.) 2018-11-17 Eric Gallager Sandra Loosemore PR driver/31357 gcc/ * doc/invoke.texi (Overall Options): Document that --help and --help= options cannot be combined. Co-Authored-By: Sandra Loosemore From-SVN: r266246 --- gcc/ChangeLog | 7 +++++++ gcc/doc/invoke.texi | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 45dd8d62cc7..ce80e608115 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-11-17 Eric Gallager + Sandra Loosemore + + PR driver/31357 + * doc/invoke.texi (Overall Options): Document that --help and + --help= options cannot be combined. + 2018-11-17 Jim Wilson * config/riscv/riscv.c (epilogue_cfa_sp_offset): New. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index db3fa3b9c64..417a9bcc3e6 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 -- 2.30.2