diff options
| author | Meador Inge | 2015-07-06 20:03:39 +0200 |
|---|---|---|
| committer | Riku Voipio | 2015-09-28 15:03:36 +0200 |
| commit | daaf8c8eb7135386134bc7075b9cf4dd57107c43 (patch) | |
| tree | 81adfdcec1f60d2bcfdb2d170ea955114bce7d57 /linux-user | |
| parent | linux-user: Exit 0 when -h is used (diff) | |
| download | qemu-daaf8c8eb7135386134bc7075b9cf4dd57107c43.tar.gz qemu-daaf8c8eb7135386134bc7075b9cf4dd57107c43.tar.xz qemu-daaf8c8eb7135386134bc7075b9cf4dd57107c43.zip | |
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')
| -rw-r--r-- | linux-user/main.c | 2 |
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, |
