diff --git a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java index e7ee7bd08..f1453b744 100644 --- a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java +++ b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java @@ -1782,6 +1782,9 @@ public class CommandLineArgumentParser { } Map ret = new HashMap<>(); for (String fmt : fmts) { + if (fmt.contains(":")) { + badArguments("format"); + } String[] parts = fmt.split(":"); ret.put(parts[0].toLowerCase(), parts[1].toLowerCase()); }