Fix expected parameters count in error message

This commit is contained in:
Romain Vimont 2019-06-23 20:47:21 +02:00
parent 91ecb4f218
commit 439b009a79

View File

@ -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();