mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-01 06:45:40 +00:00
Fix order of options
In alphabetic order, "no-clipboard-autosync" is before "no-downsize-on-error".
This commit is contained in:
@@ -250,13 +250,6 @@ static const struct sc_option options[] = {
|
|||||||
"is preserved.\n"
|
"is preserved.\n"
|
||||||
"Default is 0 (unlimited).",
|
"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_id = OPT_NO_CLIPBOARD_AUTOSYNC,
|
||||||
.longopt = "no-clipboard-autosync",
|
.longopt = "no-clipboard-autosync",
|
||||||
@@ -266,6 +259,13 @@ static const struct sc_option options[] = {
|
|||||||
"it changes.\n"
|
"it changes.\n"
|
||||||
"This option disables this automatic synchronization."
|
"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',
|
.shortopt = 'n',
|
||||||
.longopt = "no-control",
|
.longopt = "no-control",
|
||||||
|
Reference in New Issue
Block a user