sim: run: change help short option to -h

Message ID 20210910040420.30745-1-vapier@gentoo.org
State New
Headers show
Series
  • sim: run: change help short option to -h
Related show

Commit Message

Tom de Vries via Gdb-patches Sept. 10, 2021, 4:04 a.m.
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(-)

-- 
2.33.0

Patch

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",