From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id C53D63858C39 for ; Fri, 10 Sep 2021 04:04:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C53D63858C39 Received: by smtp.gentoo.org (Postfix, from userid 559) id 0DB4734027D; Fri, 10 Sep 2021 04:04:23 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: run: change help short option to -h Date: Fri, 10 Sep 2021 00:04:20 -0400 Message-Id: <20210910040420.30745-1-vapier@gentoo.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2021 04:04:26 -0000 It's unclear why -H was picked over the more standard -h, but since -h is still not used, just change -H to -h to match pretty much every other tool in the sourceware tree. --- sim/common/sim-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c index 9915c22408b3..e6d1107f7c55 100644 --- a/sim/common/sim-options.c +++ b/sim/common/sim-options.c @@ -142,7 +142,7 @@ static const OPTION standard_options[] = standard_option_handler }, { {"help", no_argument, NULL, OPTION_HELP}, - 'H', NULL, "Print help information", + 'h', NULL, "Print help information", standard_option_handler }, { {"version", no_argument, NULL, OPTION_VERSION}, '\0', NULL, "Print version information", -- 2.33.0