projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092b21a
)
vl: Print -device help at most once
author
Markus Armbruster
<armbru@redhat.com>
Fri, 13 Mar 2015 12:02:03 +0000
(13:02 +0100)
committer
Markus Armbruster
<armbru@redhat.com>
Mon, 8 Jun 2015 17:33:20 +0000
(19:33 +0200)
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>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
dd56a82
..
680f4d8
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-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);
}