diff --git a/src/io/calimero/tools/Main.java b/src/io/calimero/tools/Main.java index b78e4d3..2402cf4 100644 --- a/src/io/calimero/tools/Main.java +++ b/src/io/calimero/tools/Main.java @@ -304,9 +304,6 @@ static boolean isOption(final String arg, final String longOpt, final String sho final boolean lo = arg.startsWith("--") && arg.regionMatches(2, longOpt, 0, arg.length() - 2); final boolean so = shortOpt != null && arg.startsWith("-") && arg.regionMatches(1, shortOpt, 0, arg.length() - 1); - // notify about change of prefix for long options - if (arg.equals("-" + longOpt)) - throw new KNXIllegalArgumentException("use --" + longOpt); return lo || so; }