From: Ben Soares Date: Mon, 18 Dec 2023 13:58:15 +0000 (+0000) Subject: JAL-4290 incorrect usage of main() X-Git-Tag: Release_2_11_4_0~49^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=606873e647ea10d3784ac03e98d16e51d77c3e40;p=jalview.git JAL-4290 incorrect usage of main() --- diff --git a/src/jalview/bin/Commands.java b/src/jalview/bin/Commands.java index 5f723c1..a72da0d 100644 --- a/src/jalview/bin/Commands.java +++ b/src/jalview/bin/Commands.java @@ -179,8 +179,7 @@ public class Commands if (argParser.getBoolean(Arg.QUIT)) { - Jalview.getInstance().exit( - "Exiting due to " + Arg.QUIT.argString() + " argument.", + Jalview.exit("Exiting due to " + Arg.QUIT.argString() + " argument.", ExitCode.OK); return true; }