From 77cab339c532207378212ae09f4ba377d537cfcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 31 Mar 2016 10:23:28 +0200 Subject: Fix execution without command When no command is specified, help is printed but execution was continuing. This is now fixed. --- mcwrapper/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mcwrapper') diff --git a/mcwrapper/__init__.py b/mcwrapper/__init__.py index a1fed68..2ae3c2a 100755 --- a/mcwrapper/__init__.py +++ b/mcwrapper/__init__.py @@ -61,6 +61,7 @@ def main(): if not command: parser.print_help() + return if 'nogui' not in command: command.append('nogui') -- cgit v1.2.3