From 3613fa2821de21019a4b45ea3eec562a5a730c71 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Fri, 8 Sep 2023 15:37:23 +0100 Subject: [PATCH] JAL-4262 Make an excepetion for STDOUT filename in old style arguments detection --- src/jalview/bin/argparser/ArgParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 1.7.10.2