diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-03-13 13:02:03 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-06-08 19:33:20 +0200 |
commit | 8416abb3b0f42132fc6346c439ec543635075135 (patch) | |
tree | 557cabf5668bfe55a969e66c8944e24fb2d7e221 /vl.c | |
parent | 092b21aa7edf7962248e731cddaf5350d268e333 (diff) |
vl: Print -device help at most once
We print it once for each -device help. Not helpful. Stop after the
first one.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4049,7 +4049,7 @@ int main(int argc, char **argv, char **envp) exit(1); } - if (qemu_opts_foreach(qemu_find_opts("device"), device_help_func, NULL, 0) + if (qemu_opts_foreach(qemu_find_opts("device"), device_help_func, NULL, 1) != 0) { exit(0); } |