2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-01 23:05:19 +00:00

Fix options alphabetical order

Renaming --display to --display-id broke the alphabetical order.

Refs 23e116064d
This commit is contained in:
Romain Vimont
2023-11-20 13:09:46 +01:00
parent 4658c0e5d2
commit 0801cf0627
4 changed files with 16 additions and 16 deletions

View File

@@ -292,6 +292,14 @@ static const struct sc_option options[] = {
.longopt = "display",
.argdesc = "id",
},
{
.longopt_id = OPT_DISPLAY_BUFFER,
.longopt = "display-buffer",
.argdesc = "ms",
.text = "Add a buffering delay (in milliseconds) before displaying. "
"This increases latency to compensate for jitter.\n"
"Default is 0 (no buffering).",
},
{
.longopt_id = OPT_DISPLAY_ID,
.longopt = "display-id",
@@ -301,14 +309,6 @@ static const struct sc_option options[] = {
" scrcpy --list-displays\n"
"Default is 0.",
},
{
.longopt_id = OPT_DISPLAY_BUFFER,
.longopt = "display-buffer",
.argdesc = "ms",
.text = "Add a buffering delay (in milliseconds) before displaying. "
"This increases latency to compensate for jitter.\n"
"Default is 0 (no buffering).",
},
{
.shortopt = 'e',
.longopt = "select-tcpip",