]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qemu-options: replace constant 1 with HAS_ARG
authorJohn Snow <jsnow@redhat.com>
Tue, 4 Feb 2020 16:56:38 +0000 (11:56 -0500)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 6 Feb 2020 10:08:49 +0000 (11:08 +0100)
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>
qemu-options.hx

index 224a8e8712a4afbf15b06e97a01806df20e2f634..ff3e806977a857708250b96ffeeb929681f9c52f 100644 (file)
@@ -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