From 6860179ce5f69173f230c05bd5fe6e85c73886a3 Mon Sep 17 00:00:00 2001 From: James Procter Date: Tue, 24 Jan 2023 07:46:53 +0000 Subject: [PATCH] =?utf8?q?JAL-629=20don=E2=80=99t=20complain=20for=20Unary=20?= =?utf8?q?args?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/bin/ArgParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/bin/ArgParser.java b/src/jalview/bin/ArgParser.java index 4d37847..877a7f6 100644 --- a/src/jalview/bin/ArgParser.java +++ b/src/jalview/bin/ArgParser.java @@ -605,7 +605,7 @@ public class ArgParser public boolean getBool(Arg a) { - if (!a.hasOption(Opt.BOOLEAN)) + if (!a.hasOption(Opt.BOOLEAN) && !a.hasOption(Opt.UNARY)) { Console.warn("Getting boolean from non boolean Arg '" + a.getName() + "'."); -- 1.7.10.2