From: Ben Soares Date: Fri, 8 Sep 2023 14:37:23 +0000 (+0100) Subject: JAL-4262 Make an excepetion for STDOUT filename in old style arguments detection X-Git-Tag: Release_2_11_4_0~174^2~30^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3613fa2821de21019a4b45ea3eec562a5a730c71;p=jalview.git JAL-4262 Make an excepetion for STDOUT filename in old style arguments detection --- diff --git a/src/jalview/bin/argparser/ArgParser.java b/src/jalview/bin/argparser/ArgParser.java index b300c67..7581dde 100644 --- a/src/jalview/bin/argparser/ArgParser.java +++ b/src/jalview/bin/argparser/ArgParser.java @@ -250,7 +250,8 @@ public class ArgParser mixedExamples[1] = arg; } } - else if (arg.startsWith("-") || arg.equals("open")) + else if ((arg.startsWith("-") && !arg.equals(STDOUTFILENAME)) + || arg.equals("open")) { d = true; if (mixedExamples[0] == null)