]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user: Add -help
authorMeador Inge <meadori@codesourcery.com>
Mon, 6 Jul 2015 18:03:39 +0000 (11:03 -0700)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 28 Sep 2015 13:03:36 +0000 (16:03 +0300)
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

index 75932127a70cdd3ab5d9aa5ab064adbc8c3bf25f..58d8d8dff58798887ef51d346353c3ae9f330415 100644 (file)
@@ -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,