JAL-4262 Make an excepetion for STDOUT filename in old style arguments detection
[jalview.git] / 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)