Skip to content

Commit

Permalink
Fix order of options
Browse files Browse the repository at this point in the history
In alphabetic order, "no-clipboard-autosync" is before
"no-downsize-on-error".
  • Loading branch information
rom1v committed Feb 13, 2022
1 parent ca9e1a0 commit bb991f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/src/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit bb991f8

Please sign in to comment.