From 35cc6f8b971e7a5698efb79e908ecaa282ee91cf Mon Sep 17 00:00:00 2001 From: ths Date: Sat, 23 Jun 2007 16:01:57 +0000 Subject: [PATCH] Return success for -M '?' query option. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3008 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl.c b/vl.c index 89a2a1731d..88f4177529 100644 --- a/vl.c +++ b/vl.c @@ -6705,7 +6705,7 @@ void help(void) #endif DEFAULT_GDBSTUB_PORT, "/tmp/qemu.log"); - exit(1); + exit(strcmp(optarg, "?")); } #define HAS_ARG 0x0001 -- GitLab