summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-02-04 11:56:38 -0500
committerLaurent Vivier <laurent@vivier.eu>2020-02-06 11:08:49 +0100
commit60f9a4ef7ebddf070a8f7470e9968ef24f273449 (patch)
tree8c4b3ada6bbc508cefe1405e6f028fe74d170749
parenta2a82ad6fc0a8fd37d034a8f2e4ddecdb9d73a57 (diff)
downloadfocaccia-qemu-60f9a4ef7ebddf070a8f7470e9968ef24f273449.tar.gz
focaccia-qemu-60f9a4ef7ebddf070a8f7470e9968ef24f273449.zip
qemu-options: replace constant 1 with HAS_ARG
This is the only instance of a non-zero constant not using a symbolic
constant.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20200204165638.25051-1-jsnow@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--qemu-options.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 224a8e8712..ff3e806977 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1955,7 +1955,7 @@ STEXI
 Start in full screen.
 ETEXI
 
-DEF("g", 1, QEMU_OPTION_g ,
+DEF("g", HAS_ARG, QEMU_OPTION_g ,
     "-g WxH[xDEPTH]  Set the initial graphical resolution and depth\n",
     QEMU_ARCH_PPC | QEMU_ARCH_SPARC | QEMU_ARCH_M68K)
 STEXI