aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2015-07-06 11:03:39 -0700
committerRiku Voipio <riku.voipio@linaro.org>2015-09-28 16:03:36 +0300
commitdaaf8c8eb7135386134bc7075b9cf4dd57107c43 (patch)
tree81adfdcec1f60d2bcfdb2d170ea955114bce7d57 /linux-user/main.c
parentd03f9c320234d2e49ad8b2f4abd049a497afa2be (diff)
linux-user: Add -help
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>
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 75932127a7..58d8d8dff5 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,