]> git.proxmox.com Git - qemu.git/commit
user: Restore debug usage message for '-d ?' in user mode emulation
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 30 Jul 2011 12:18:35 +0000 (13:18 +0100)
committerJustin M. Forbes <jforbes@redhat.com>
Tue, 2 Aug 2011 19:38:17 +0000 (14:38 -0500)
commita80f53aee36f177203a2d4e7a046dc0365e42150
tree4b0d2b8e5c77796db90762797f49ed638445d6b7
parent88ca9f047bf8df20ae0a6305d99cbad1e893777f
user: Restore debug usage message for '-d ?' in user mode emulation

The code which prints the debug usage message on '-d ?' for *-user
has to come before the check for "not enough arguments", so that
"qemu-foo -d ?" prints the list of possible debug log items rather than
the generic usage message. (This was inadvertently broken in commit
c235d73.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
bsd-user/main.c
darwin-user/main.c
linux-user/main.c