Commit 35cc6f8b971e7a5698efb79e908ecaa282ee91cf
1 parent
17044c06
Return success for -M '?' query option.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3008 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
vl.c
| @@ -6705,7 +6705,7 @@ void help(void) | @@ -6705,7 +6705,7 @@ void help(void) | ||
| 6705 | #endif | 6705 | #endif |
| 6706 | DEFAULT_GDBSTUB_PORT, | 6706 | DEFAULT_GDBSTUB_PORT, |
| 6707 | "/tmp/qemu.log"); | 6707 | "/tmp/qemu.log"); |
| 6708 | - exit(1); | 6708 | + exit(strcmp(optarg, "?")); |
| 6709 | } | 6709 | } |
| 6710 | 6710 | ||
| 6711 | #define HAS_ARG 0x0001 | 6711 | #define HAS_ARG 0x0001 |