git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b5965
)
JAL-4262 Make an excepetion for STDOUT filename in old style arguments detection
improvement/JAL-4262_deprecation_warning_when_old_CLI_arguments_are_processed
author
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 8 Sep 2023 14:37:23 +0000
(15:37 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 8 Sep 2023 14:37:23 +0000
(15:37 +0100)
src/jalview/bin/argparser/ArgParser.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/argparser/ArgParser.java
b/src/jalview/bin/argparser/ArgParser.java
index
b300c67
..
7581dde
100644
(file)
--- 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)