------- 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=<class> Display descriptions of a specific class of > options. <class> 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=<language> 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