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:
c84d260
)
JAL-629 don’t complain for Unary args
author
James Procter
<j.procter@dundee.ac.uk>
Tue, 24 Jan 2023 07:46:53 +0000
(07:46 +0000)
committer
James Procter
<j.procter@dundee.ac.uk>
Tue, 24 Jan 2023 07:46:53 +0000
(07:46 +0000)
src/jalview/bin/ArgParser.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/ArgParser.java
b/src/jalview/bin/ArgParser.java
index
4d37847
..
877a7f6
100644
(file)
--- a/
src/jalview/bin/ArgParser.java
+++ b/
src/jalview/bin/ArgParser.java
@@
-605,7
+605,7
@@
public class ArgParser
public boolean getBool(Arg a)
{
- if (!a.hasOption(Opt.BOOLEAN))
+ if (!a.hasOption(Opt.BOOLEAN) && !a.hasOption(Opt.UNARY))
{
Console.warn("Getting boolean from non boolean Arg '" + a.getName()
+ "'.");