mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 04:42:01 +00:00
show command line help when format parameter is invalid
This commit is contained in:
@@ -1782,6 +1782,9 @@ public class CommandLineArgumentParser {
|
||||
}
|
||||
Map<String, String> ret = new HashMap<>();
|
||||
for (String fmt : fmts) {
|
||||
if (fmt.contains(":")) {
|
||||
badArguments("format");
|
||||
}
|
||||
String[] parts = fmt.split(":");
|
||||
ret.put(parts[0].toLowerCase(), parts[1].toLowerCase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user