diff options
author | Brooks Moses <brooks.moses@codesourcery.com> | 2007-04-04 18:17:30 +0000 |
---|---|---|
committer | Brooks Moses <brooks@gcc.gnu.org> | 2007-04-04 11:17:30 -0700 |
commit | b5456e04b4785070ea7517669a7039de3b855923 (patch) | |
tree | f65e28192aa06fee5a00ed7b0f754565593dec1a /gcc/opts.c | |
parent | 2c4c82dde6ab9fa9288285d4dce109aecb8c0f34 (diff) | |
download | gcc-b5456e04b4785070ea7517669a7039de3b855923.zip gcc-b5456e04b4785070ea7517669a7039de3b855923.tar.gz gcc-b5456e04b4785070ea7517669a7039de3b855923.tar.bz2 |
re PR other/31356 (gcc --help=<language> option has problems in the output header line.)
PR other/31356
* gcc.c (print_specific_help): Fix --help=<language>
header line.
(common_handle_option): Support --help=common.
From-SVN: r123499
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -893,7 +893,8 @@ print_specific_help (unsigned int include_flags, descrip_extra = lang_names [i]; } else - description = _("The following options are supported by, amoung others, the language "); + description = _("The following options are supported by the language "); + descrip_extra = lang_names [i]; break; } } @@ -983,7 +984,8 @@ common_handle_option (size_t scode, const char *arg, int value, /* Walk along the argument string, parsing each word in turn. The format is: arg = [^]{word}[,{arg}] - word = {optimizers|target|warnings|undocumented|params} */ + word = {optimizers|target|warnings|undocumented| + params|common|<language>} */ while (* a != 0) { static struct @@ -1000,6 +1002,7 @@ common_handle_option (size_t scode, const char *arg, int value, { "params", CL_PARAMS }, { "joined", CL_JOINED }, { "separate", CL_SEPARATE }, + { "common", CL_COMMON }, { NULL, 0 } }; unsigned int * pflags; |