This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc --help for options which are not warnings or optimizations
- From: Ian Lance Taylor <iant at google dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 02 Jun 2009 06:51:25 -0700
- Subject: Re: gcc --help for options which are not warnings or optimizations
- References: <m3r5y3644t.fsf@google.com> <4A24F304.5040901@redhat.com>
Nick Clifton <nickc@redhat.com> writes:
> Hi Ian,
>
>> Nick, how is gcc --help supposed to work for options which are neither
>> warnings nor optimizations? For example, -fstack-protector. Is there a
>> --help option which will display it?
>
> Yes - but only the generic "--help --verbose" rather than a more
> qualified version.
In that case I think that gcc --help should display something about
--verbose.
> I suppose we could add another qualifier along the lines of
> "--help=not-otherwise-shown" but that seems rather klunky.
Diego's --help=other suggestion seems reasonable.
Ian