aboutsummaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-02-19 10:33:41 +0000
committerNick Clifton <nickc@gcc.gnu.org>2008-02-19 10:33:41 +0000
commitb3eaaf1a508157d95b86651c27ad2b77dc137a88 (patch)
tree19e80a2c1735712ed685a4ed4cc4e884c94e3d22 /gcc/c.opt
parentd2ee546fd6d04c56754647e5c21d3fa7e4f11294 (diff)
downloadgcc-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.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index 3704519..94f0398 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -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