From 606873e647ea10d3784ac03e98d16e51d77c3e40 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Mon, 18 Dec 2023 13:58:15 +0000 Subject: [PATCH] JAL-4290 incorrect usage of main() --- src/jalview/bin/Commands.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 1.7.10.2