Fix expected parameters count in error message

pull/657/head
Romain Vimont 5 years ago
parent 91ecb4f218
commit 439b009a79

@ -68,7 +68,7 @@ public final class Server {
@SuppressWarnings("checkstyle:MagicNumber")
private static Options createOptions(String... args) {
if (args.length != 6) {
throw new IllegalArgumentException("Expecting 5 parameters");
throw new IllegalArgumentException("Expecting 6 parameters");
}
Options options = new Options();

Loading…
Cancel
Save