Re: [PATCH 2/2] document gcc --help=common

2012-02-28 Thread Gerald Pfeifer
On Mon, 27 Feb 2012, Bernhard Reutner-Fischer wrote:
 2010-01-03  Bernhard Reutner-Fischer  al...@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 2/2] document gcc --help=common

2012-02-27 Thread Bernhard Reutner-Fischer
From: Bernhard Reutner-Fischer bernhard.reutner-fisc...@univie.ac.at

gcc/ChangeLog:
2010-01-03  Bernhard Reutner-Fischer  al...@gcc.gnu.org

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

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

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-helpDisplay 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);
-- 
1.7.9