From 439b009a794983a738f3d48e1d07cd721dca112d Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 23 Jun 2019 20:47:21 +0200 Subject: [PATCH] Fix expected parameters count in error message --- server/src/main/java/com/genymobile/scrcpy/Server.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/Server.java b/server/src/main/java/com/genymobile/scrcpy/Server.java index 1e4d10d6..25da0f4e 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Server.java +++ b/server/src/main/java/com/genymobile/scrcpy/Server.java @@ -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();