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
This commit is contained in:
balrog 2007-06-22 08:23:44 +00:00
parent 47b2d338d9
commit 8b6e0729aa

8
vl.c
View File

@ -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