[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] qemu-options: replace constant 1 with HAS_ARG
From: |
John Snow |
Subject: |
[PATCH] qemu-options: replace constant 1 with HAS_ARG |
Date: |
Tue, 4 Feb 2020 11:56:38 -0500 |
This is the only instance of a non-zero constant not using a symbolic
constant.
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.21.0
- [PATCH] qemu-options: replace constant 1 with HAS_ARG,
John Snow <=