From edee69d6374639d165d12fecc5614f38c6b117c8 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 16 Apr 2021 17:40:39 +0200 Subject: [PATCH] Fix options alphabetical order "verbosity" < "version" --- app/scrcpy.1 | 8 ++++---- app/src/cli.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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"