OSDN Git Service

cocoa: do not create a spurious window for -version
authorTristan Gingold <gingold@adacore.com>
Tue, 15 Mar 2011 13:18:22 +0000 (14:18 +0100)
committerAndreas Färber <andreas.faerber@web.de>
Tue, 14 Jun 2011 01:08:56 +0000 (03:08 +0200)
commite4ebcc1a37a7e66205f477a7d2805fb5d0ce3d3b
treef70097e6b644c6ec7f4d3dfaf0abf16b72b8014a
parent0b862cedf36d927818c50584ddd611b0370673df
cocoa: do not create a spurious window for -version

When invoked with -version, qemu will exit just after displaying the version,
so there is no need to create a window.
Also handles --XXX options.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
ui/cocoa.m