aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-23 16:01:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-23 16:01:57 +0000
commit35cc6f8b971e7a5698efb79e908ecaa282ee91cf (patch)
tree713ef65fb0357024b445998aa6a53ca82dea2c08
parent17044c06b846e84191534a8a8f8bdc56a2b2e619 (diff)
Return success for -M '?' query option.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3008 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
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