#998 -format argument is not working in commandline: fixed

This commit is contained in:
honfika@gmail.com
2015-07-23 15:57:56 +02:00
parent 4e0d201dd4
commit 1fb114c78e
4 changed files with 15 additions and 2 deletions

View File

@@ -1787,7 +1787,7 @@ public class CommandLineArgumentParser {
}
Map<String, String> ret = new HashMap<>();
for (String fmt : fmts) {
if (fmt.contains(":")) {
if (!fmt.contains(":")) {
badArguments("format");
}
String[] parts = fmt.split(":");