From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 6471B3851C10 for ; Wed, 30 Jun 2021 18:08:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6471B3851C10 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: JVgEjL39p1+dZYQRrVku1Ox6c5VWxM4hXmYGEvPrZIQabsEUK6tc0cfcx5Bju8KyZ4rBczu/8P BXcBgE2DB/XCS0WbKXyl7/77Q66l4+ZIxSjjrl+q7giJ6K+3cDbQuBmHrdSZj5ppMZOOtsCKQ1 8KuLgerERnRTje9HK8OnWnP7pdFAwcgDmZF3ufa6MsEV4oHnDMJBzAWs9SNMPkRH/D6jP03Kq/ xb8zx1W6aA+wkbT2tnMSqDw+NX378RGstHQwdBUrL4Dgg56AvyAlURlOwJyPPgxjwytk/zwGDy EWY= X-IronPort-AV: E=Sophos;i="5.83,312,1616486400"; d="scan'208";a="62998581" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 30 Jun 2021 10:08:58 -0800 IronPort-SDR: 4G1HV8N7DlZsuue37RfVmsKtfIC5Td+HoPycCehtvFR0anbnF9No1L9cjOwGIsy40jAjmyZ/Yp 9k0LRt6zBgxa9VTUdurXxWjC7ABjCkY3IuRdD7Ph/Er/sEMIdwYavJ2ph/WUnDQparJIX0KCHT 1uBRfeh+sAwYzQ6t2wKY1rz1OW/yEbvM3d0XGwRGMBtHJLf7Zcw25/ZsL2unsUosv2chiKboKu jPu+HaK4YHRNnRHeHwlYl+qDt7qUeYPZJp2CxhI/wbeJfC8eXrHJekIV4q36wrMrmuC1aJoPjO LIs= Date: Wed, 30 Jun 2021 18:08:52 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Tobias Burnus CC: gcc-patches , Jakub Jelinek Subject: Re: RFC: --help for Driver options (was: [Patch] gcc.c: Add -foffload= to display_help) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-06.mgc.mentorg.com (139.181.222.6) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3120.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 18:09:00 -0000 On Wed, 30 Jun 2021, Tobias Burnus wrote: > While looking at that issue, Jakub and I wondered whether there > should be some warning if a Driver option has a help text, > which never appears. Migrating from hardcoded help text in gcc.c to using .opt help text for Driver options to generate --help output might be a good idea. -- Joseph S. Myers joseph@codesourcery.com