aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-22 08:23:44 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-22 08:23:44 +0000
commit8b6e0729aa1965e3db366887ca47ec3c96f0ab2a (patch)
tree9829931288d290d3a7bdaba1520e414a1dd581c9
parent47b2d338d982c9e26b2af6b51c1cc0da7cbd2b60 (diff)
Use HAS_ARG instead of numeric value (patch by Balazs Attila-Mihaly).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2997 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--vl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vl.c b/vl.c
index 91b1c5a5b3..89a2a1731d 100644
--- a/vl.c
+++ b/vl.c
@@ -6854,10 +6854,10 @@ const QEMUOption qemu_options[] = {
#endif
{ "localtime", 0, QEMU_OPTION_localtime },
{ "std-vga", 0, QEMU_OPTION_std_vga },
- { "echr", 1, QEMU_OPTION_echr },
- { "monitor", 1, QEMU_OPTION_monitor },
- { "serial", 1, QEMU_OPTION_serial },
- { "parallel", 1, QEMU_OPTION_parallel },
+ { "echr", HAS_ARG, QEMU_OPTION_echr },
+ { "monitor", HAS_ARG, QEMU_OPTION_monitor },
+ { "serial", HAS_ARG, QEMU_OPTION_serial },
+ { "parallel", HAS_ARG, QEMU_OPTION_parallel },
{ "loadvm", HAS_ARG, QEMU_OPTION_loadvm },
{ "full-screen", 0, QEMU_OPTION_full_screen },
#ifdef CONFIG_SDL