From d5dff239c858d22e8f8aad7dc51524e149561299 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 19 Feb 2023 15:30:46 +0100 Subject: [PATCH] Suggest commands with an explicit '=' --- server/src/main/java/com/genymobile/scrcpy/Server.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/Server.java b/server/src/main/java/com/genymobile/scrcpy/Server.java index 4f9fd55f..5a092061 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Server.java +++ b/server/src/main/java/com/genymobile/scrcpy/Server.java @@ -306,7 +306,7 @@ public final class Server { if (displayIds != null && displayIds.length > 0) { Ln.e("Try to use one of the available display ids:"); for (int id : displayIds) { - Ln.e(" scrcpy --display " + id); + Ln.e(" scrcpy --display=" + id); } } } else if (e instanceof InvalidEncoderException) { @@ -315,7 +315,7 @@ public final class Server { if (encoders != null && encoders.length > 0) { Ln.e("Try to use one of the available encoders:"); for (MediaCodecInfo encoder : encoders) { - Ln.e(" scrcpy --encoder '" + encoder.getName() + "'"); + Ln.e(" scrcpy --encoder='" + encoder.getName() + "'"); } } }