diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-09-29 15:48:12 +0100 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-10-21 17:59:58 +0200 |
commit | 1386d4c0f5ce4c4391f2024a36c77eb8fb152e90 (patch) | |
tree | 2cf13fa9e4a3a099d083ac1c64293823a5156753 /compatfd.c | |
parent | c2e2343e1faae7bbc77574c12a25881b1b696808 (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