[2/2] document gcc --help=common
diff mbox

Message ID 1330366961-21550-3-git-send-email-rep.dot.nop@gmail.com
State New
Headers show

Commit Message

Bernhard Reutner-Fischer Feb. 27, 2012, 6:22 p.m. UTC
From: Bernhard Reutner-Fischer <bernhard.reutner-fischer@univie.ac.at>

gcc/ChangeLog:
2010-01-03  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

	* gcc.c (display_help): Document --help=common and sort entries
	alphabetically.

Signed-off-by: Bernhard Reutner-Fischer <bernhard.reutner-fischer@univie.ac.at>
---
 gcc/gcc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Gerald Pfeifer Feb. 28, 2012, 5:14 p.m. UTC | #1
On Mon, 27 Feb 2012, Bernhard Reutner-Fischer wrote:
> 2010-01-03  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
> 
> 	* gcc.c (display_help): Document --help=common and sort entries
> 	alphabetically.

I would liberaly label this a documentation change and commit it
so that it makes GCC 4.7.0.

Gerald

Patch
diff mbox

diff --git a/gcc/gcc.c b/gcc/gcc.c
index 2fc3b21..1c408a4 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2976,7 +2976,7 @@  display_help (void)
   fputs (_("  -pass-exit-codes         Exit with highest error code from a phase\n"), stdout);
   fputs (_("  --help                   Display this information\n"), stdout);
   fputs (_("  --target-help            Display target specific command line options\n"), stdout);
-  fputs (_("  --help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]\n"), stdout);
+  fputs (_("  --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]\n"), stdout);
   fputs (_("                           Display specific types of command line options\n"), stdout);
   if (! verbose_flag)
     fputs (_("  (Use '-v --help' to display command line options of sub-processes)\n"), stdout);