aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-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