Exit application only after version command

This commit is contained in:
Connor Tumbleson 2017-07-05 11:06:18 -04:00
parent fce273adaf
commit e7e8747792

View File

@ -99,6 +99,7 @@ public class Main {
if (cmdFound == false) { if (cmdFound == false) {
if (commandLine.hasOption("version")) { if (commandLine.hasOption("version")) {
_version(); _version();
System.exit(0);
} else { } else {
usage(); usage();
} }
@ -192,7 +193,6 @@ public class Main {
decoder.close(); decoder.close();
} catch (IOException ignored) {} } catch (IOException ignored) {}
} }
System.exit(0);
} }
private static void cmdBuild(CommandLine cli) throws BrutException { private static void cmdBuild(CommandLine cli) throws BrutException {