diff options
author | Nick Clifton <nickc@redhat.com> | 2008-02-19 10:33:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2008-02-19 10:33:41 +0000 |
commit | b3eaaf1a508157d95b86651c27ad2b77dc137a88 (patch) | |
tree | 19e80a2c1735712ed685a4ed4cc4e884c94e3d22 /gcc/c.opt | |
parent | d2ee546fd6d04c56754647e5c21d3fa7e4f11294 (diff) | |
download | gcc-b3eaaf1a508157d95b86651c27ad2b77dc137a88.zip gcc-b3eaaf1a508157d95b86651c27ad2b77dc137a88.tar.gz gcc-b3eaaf1a508157d95b86651c27ad2b77dc137a88.tar.bz2 |
re PR other/31349 (gcc -v --help returns no options for C, C++)
PR other/31349
* opts.c (undocumented_msg): Leave blank unless checking is
enabled.
(handle_options): Fix indentation.
(print_filtered_help): If no language-specific options were
displayed tell the user how to list all the options supported by
the language's front-end.
(print_specific_help): Fix indentation and remove duplicate line.
(common_handle_option): Handle the -v option.
For --help enable the display of undocumented options if the -v
switch has been included on the command line.
For --help= check for overlaps in the arguments between the option
classes and the language names and issue a warning when they
cannot be disambiguated.
* c.opt (v): Pass on to the common option handler.
From-SVN: r132427
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -978,7 +978,7 @@ C ObjC C++ ObjC++ Do not predefine system-specific and GCC-specific macros v -C ObjC C++ ObjC++ +Common C ObjC C++ ObjC++ Enable verbose output w |