From bb991f829cda06e024caa613ae91c34f4cc908b7 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 13 Feb 2022 17:17:39 +0100 Subject: [PATCH] Fix order of options In alphabetic order, "no-clipboard-autosync" is before "no-downsize-on-error". --- app/src/cli.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/cli.c b/app/src/cli.c index 63f4a4ed..d2a991d9 100644 --- a/app/src/cli.c +++ b/app/src/cli.c @@ -250,13 +250,6 @@ static const struct sc_option options[] = { "is preserved.\n" "Default is 0 (unlimited).", }, - { - .longopt_id = OPT_NO_DOWNSIZE_ON_ERROR, - .longopt = "no-downsize-on-error", - .text = "By default, on MediaCodec error, scrcpy automatically tries " - "again with a lower definition.\n" - "This option disables this behavior.", - }, { .longopt_id = OPT_NO_CLIPBOARD_AUTOSYNC, .longopt = "no-clipboard-autosync", @@ -266,6 +259,13 @@ static const struct sc_option options[] = { "it changes.\n" "This option disables this automatic synchronization." }, + { + .longopt_id = OPT_NO_DOWNSIZE_ON_ERROR, + .longopt = "no-downsize-on-error", + .text = "By default, on MediaCodec error, scrcpy automatically tries " + "again with a lower definition.\n" + "This option disables this behavior.", + }, { .shortopt = 'n', .longopt = "no-control",