From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8282 invoked by alias); 23 Jan 2008 13:14:36 -0000 Received: (qmail 7830 invoked by alias); 23 Jan 2008 13:13:53 -0000 Date: Wed, 23 Jan 2008 14:21:00 -0000 Message-ID: <20080123131353.7829.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/31349] [4.3 Regression] gcc -v --help returns no options for C, C++ In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "nickc at redhat dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg02749.txt.bz2 ------- Comment #10 from nickc at redhat dot com 2008-01-23 13:13 ------- Subject: Re: [4.3 Regression] gcc -v --help returns no options for C, C++ Hi Manuel, > % gcc -v --help=c > > returns the following for me > > The following options are language-independent: > --help Display this information > --help= Display descriptions of a specific class of > options. is one or more of optimizers, > target, warnings, undocumented, params > > I think it should say "The following options are supported by the language C". It should - that was a bug. > My proposal would be: > > 1) Change the current empty message to mention --help= as described > above. > > 2) List all options with --help -v, even if they are undocumented (abusing of > -Wextra for this seems unjustified to me). I would further propose that if > checking is enabled, then show the message "This switch lacks documentation", > otherwise (for releases) just show the empty string "". > > Can we agree on this? We can and the uploaded patch implements this. If you are happy with it I will submit it to the list for official approval. Cheers Nick -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31349