From 5938e862a1c9fe09554c5238684272be4be54945 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Tue, 6 Jul 2021 18:32:40 +0200 Subject: [PATCH] Fix --lock-video-orientation syntax in help Commit f76fe2c0d4847d0e40d8708f97591abf3fa22ea5 fixed README and tests. Fix command line help and manpage. --- app/scrcpy.1 | 2 +- app/src/cli.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scrcpy.1 b/app/scrcpy.1 index 62dc9677..08adfc27 100644 --- a/app/scrcpy.1 +++ b/app/scrcpy.1 @@ -83,7 +83,7 @@ Inject computer clipboard text as a sequence of key events on Ctrl+v (like MOD+S This is a workaround for some devices not behaving as expected when setting the device clipboard programmatically. .TP -.BI "\-\-lock\-video\-orientation " [value] +.BI "\-\-lock\-video\-orientation[=value] Lock video orientation to \fIvalue\fR. Possible values are "unlocked", "initial" (locked to the initial orientation), 0, 1, 2 and 3. Natural device orientation is 0, and each increment adds a 90 degrees otation counterclockwise. Default is "unlocked". diff --git a/app/src/cli.c b/app/src/cli.c index 3eab8d27..ab35745d 100644 --- a/app/src/cli.c +++ b/app/src/cli.c @@ -79,7 +79,7 @@ scrcpy_print_usage(const char *arg0) { " This is a workaround for some devices not behaving as\n" " expected when setting the device clipboard programmatically.\n" "\n" - " --lock-video-orientation [value]\n" + " --lock-video-orientation[=value]\n" " Lock video orientation to value.\n" " Possible values are \"unlocked\", \"initial\" (locked to the\n" " initial orientation), 0, 1, 2 and 3.\n"