aboutsummaryrefslogtreecommitdiff
path: root/compatfd.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-09-29 15:48:12 +0100
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>2011-10-21 17:59:58 +0200
commit1386d4c0f5ce4c4391f2024a36c77eb8fb152e90 (patch)
tree2cf13fa9e4a3a099d083ac1c64293823a5156753 /compatfd.c
parentc2e2343e1faae7bbc77574c12a25881b1b696808 (diff)
linux-user: Fix broken "-version" option
Fix the "-version" option, which was accidentally broken in commit fc9c541: * exit after printing version information rather than proceeding blithely onward (and likely printing the full usage message) * correct the cut-n-paste error in the usage message for it * don't insist on the presence of a following argument for options which don't take an argument (this was preventing 'qemu-arm -version' from working) * remove a spurious argc check from the beginning of main() which meant 'QEMU_VERSION=1 qemu-arm' didn't work. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'compatfd.c')
0 files changed, 0 insertions, 0 deletions