JAL-4262 Make an excepetion for STDOUT filename in old style arguments detection improvement/JAL-4262_deprecation_warning_when_old_CLI_arguments_are_processed
authorBen Soares <b.soares@dundee.ac.uk>
Fri, 8 Sep 2023 14:37:23 +0000 (15:37 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Fri, 8 Sep 2023 14:37:23 +0000 (15:37 +0100)
src/jalview/bin/argparser/ArgParser.java

index b300c67..7581dde 100644 (file)
@@ -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)