Skip to content

Display and control your Android device

Improve documentation for consistency

Romain Vimontcbde7b964a75
diff --git a/app/scrcpy.1 b/app/scrcpy.1
index e44bfc7e..e3b9f4cc 100644
--- a/app/scrcpy.1
+++ b/app/scrcpy.1
@@ -52,7 +52,7 @@ Print this help.
.TP
.BI "\-\-lock\-video\-orientation " value
-Lock video orientation to \fIvalue\fR. Values are integers in the range [-1..3]. Natural device orientation is 0 and each increment adds 90 degrees counterclockwise.
+Lock video orientation to \fIvalue\fR. Possible values are -1 (unlocked), 0, 1, 2 and 3. Natural device orientation is 0, and each increment adds a 90 degrees otation counterclockwise.
Default is -1 (unlocked).
diff --git a/app/src/cli.c b/app/src/cli.c
index 44f06ef2..0d6ced9b 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -52,9 +52,10 @@ scrcpy_print_usage(const char *arg0) {
" Print this help.\n"
"\n"
" --lock-video-orientation value\n"
- " Lock video orientation to value. Values are integers in the\n"
- " range [-1..3]. Natural device orientation is 0 and each\n"
- " increment adds 90 degrees counterclockwise.\n"
+ " Lock video orientation to value.\n"
+ " Possible values are -1 (unlocked), 0, 1, 2 and 3.\n"
+ " Natural device orientation is 0, and each increment adds a\n"
+ " 90 degrees rotation counterclockwise.\n"
" Default is %d%s.\n"
"\n"
" --max-fps value\n"