From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7235 invoked by alias); 2 Jun 2009 13:51:45 -0000 Received: (qmail 7227 invoked by uid 22791); 2 Jun 2009 13:51:44 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 13:51:39 +0000 Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id n52DpZq4007629 for ; Tue, 2 Jun 2009 14:51:36 +0100 Received: from qyk5 (qyk5.prod.google.com [10.241.83.133]) by wpaz9.hot.corp.google.com with ESMTP id n52DpXwM011372 for ; Tue, 2 Jun 2009 06:51:34 -0700 Received: by qyk5 with SMTP id 5so24279qyk.29 for ; Tue, 02 Jun 2009 06:51:33 -0700 (PDT) Received: by 10.224.46.16 with SMTP id h16mr6897151qaf.179.1243950693816; Tue, 02 Jun 2009 06:51:33 -0700 (PDT) Received: from localhost.localdomain.google.com ([67.218.105.233]) by mx.google.com with ESMTPS id 7sm39427qwb.16.2009.06.02.06.51.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 06:51:33 -0700 (PDT) To: Nick Clifton Cc: gcc@gcc.gnu.org Subject: Re: gcc --help for options which are not warnings or optimizations References: <4A24F304.5040901@redhat.com> From: Ian Lance Taylor Date: Tue, 02 Jun 2009 13:51:00 -0000 In-Reply-To: <4A24F304.5040901@redhat.com> (Nick Clifton's message of "Tue\, 02 Jun 2009 10\:38\:12 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00024.txt.bz2 Nick Clifton 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