Skip to content

Display and control your Android device

Fix options alphabetical order

Romain Vimontedee69d63746
diff --git a/app/scrcpy.1 b/app/scrcpy.1
index 92b8e1e3..bf3bc9cd 100644
--- a/app/scrcpy.1
+++ b/app/scrcpy.1
@@ -187,16 +187,16 @@ Enable "show touches" on start, restore the initial value on exit.
It only shows physical touches (not clicks from scrcpy).
-.TP
-.B \-v, \-\-version
-Print the version of scrcpy.
-
.TP
.BI "\-V, \-\-verbosity " value
Set the log level ("debug", "info", "warn" or "error").
Default is "info" for release builds, "debug" for debug builds.
+.TP
+.B \-v, \-\-version
+Print the version of scrcpy.
+
.TP
.B \-w, \-\-stay-awake
Keep the device on while scrcpy is running, when the device is plugged in.
diff --git a/app/src/cli.c b/app/src/cli.c
index 484c48ef..042a1f4c 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -179,9 +179,6 @@ scrcpy_print_usage(const char *arg0) {
" on exit.\n"
" It only shows physical touches (not clicks from scrcpy).\n"
"\n"
- " -v, --version\n"
- " Print the version of scrcpy.\n"
- "\n"
" -V, --verbosity value\n"
" Set the log level (debug, info, warn or error).\n"
#ifndef NDEBUG
@@ -189,6 +186,9 @@ scrcpy_print_usage(const char *arg0) {
#else
" Default is info.\n"
#endif
+ "\n"
+ " -v, --version\n"
+ " Print the version of scrcpy.\n"
"\n"
" -w, --stay-awake\n"
" Keep the device on while scrcpy is running, when the device\n"