diff mbox

[PULL,02/13] linux-user: Add -help

Message ID daaf8c8eb7135386134bc7075b9cf4dd57107c43.1443790691.git.riku.voipio@linaro.org
State Accepted
Commit daaf8c8eb7135386134bc7075b9cf4dd57107c43
Headers show

Commit Message

Riku Voipio Oct. 2, 2015, 1 p.m. UTC
From: Meador Inge <meadori@codesourcery.com>

This option is already available on the system mode
binaries.  It would be better if long options were
supported (i.e. --help), but this is okay for now.

Signed-off-by: Meador Inge <meadori@codesourcery.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 linux-user/main.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/linux-user/main.c b/linux-user/main.c
index 7593212..58d8d8d 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -3883,6 +3883,8 @@  struct qemu_argument {
 static const struct qemu_argument arg_table[] = {
     {"h",          "",                 false, handle_arg_help,
      "",           "print this help"},
+    {"help",       "",                 false, handle_arg_help,
+     "",           ""},
     {"g",          "QEMU_GDB",         true,  handle_arg_gdb,
      "port",       "wait gdb connection to 'port'"},
     {"L",          "QEMU_LD_PREFIX",   true,  handle_arg_ld_prefix,