2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-30 13:58:08 +00:00

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") @SuppressWarnings("checkstyle:MagicNumber")
private static Options createOptions(String... args) { private static Options createOptions(String... args) {
if (args.length != 6) { if (args.length != 6) {
throw new IllegalArgumentException("Expecting 5 parameters"); throw new IllegalArgumentException("Expecting 6 parameters");
} }
Options options = new Options(); Options options = new Options();