public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: run: change help short option to -h
@ 2021-09-10  4:04 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-09-10  4:04 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-10  4:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  4:04 [PATCH] sim: run: change help short option to -h Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).