qemu-e2k/linux-user
Peter Maydell 1386d4c0f5 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>
2011-10-21 17:59:58 +02:00
..
alpha linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
arm linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
cris linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
i386 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
m68k linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
microblaze linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mips linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mips64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mipsn32 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
ppc linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
s390x linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
sh4 linux-user: correct syscall 123 on sh4 2011-07-13 17:11:37 +03:00
sparc linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
sparc64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
unicore32
x86_64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
cpu-uname.c
cpu-uname.h
elfload.c linux-user: Implement new ARM 64 bit cmpxchg kernel helper 2011-09-09 10:46:02 +03:00
errno_defs.h
flat.h
flatload.c
ioctls.h linux-user: Add support for even more FB ioctls 2011-07-11 16:12:18 +03:00
linux_loop.h
linuxload.c
m68k-sim.c
main.c linux-user: Fix broken "-version" option 2011-10-21 17:59:58 +02:00
mmap.c
qemu-types.h
qemu.h linux-user: Implement new ARM 64 bit cmpxchg kernel helper 2011-09-09 10:46:02 +03:00
signal.c linux-user: Remove unused code 2011-10-05 09:26:23 +01:00
socket.h
strace.c
strace.list
syscall_defs.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
syscall_types.h linux-user: Add support for even more FB ioctls 2011-07-11 16:12:18 +03:00
syscall.c Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging 2011-09-26 07:59:13 -05:00
target_flat.h
uaccess.c
vm86.c