Reorder --tcpip option in cli
To keep options in alphabetic order.
This commit is contained in:
parent
71b41d846f
commit
79ed83ab68
1 changed files with 14 additions and 14 deletions
|
@ -422,6 +422,20 @@ static const struct sc_option options[] = {
|
||||||
"on exit.\n"
|
"on exit.\n"
|
||||||
"It only shows physical touches (not clicks from scrcpy).",
|
"It only shows physical touches (not clicks from scrcpy).",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.longopt_id = OPT_TCPIP,
|
||||||
|
.longopt = "tcpip",
|
||||||
|
.argdesc = "ip[:port]",
|
||||||
|
.optional_arg = true,
|
||||||
|
.text = "Configure and reconnect the device over TCP/IP.\n"
|
||||||
|
"If a destination address is provided, then scrcpy connects to "
|
||||||
|
"this address before starting. The device must listen on the "
|
||||||
|
"given TCP port (default is 5555).\n"
|
||||||
|
"If no destination address is provided, then scrcpy attempts "
|
||||||
|
"to find the IP address of the current device (typically "
|
||||||
|
"connected over USB), enables TCP/IP mode, then connects to "
|
||||||
|
"this address before starting.",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.longopt_id = OPT_TUNNEL_HOST,
|
.longopt_id = OPT_TUNNEL_HOST,
|
||||||
.longopt = "tunnel-host",
|
.longopt = "tunnel-host",
|
||||||
|
@ -483,20 +497,6 @@ static const struct sc_option options[] = {
|
||||||
.text = "Keep the device on while scrcpy is running, when the device "
|
.text = "Keep the device on while scrcpy is running, when the device "
|
||||||
"is plugged in.",
|
"is plugged in.",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.longopt_id = OPT_TCPIP,
|
|
||||||
.longopt = "tcpip",
|
|
||||||
.argdesc = "ip[:port]",
|
|
||||||
.optional_arg = true,
|
|
||||||
.text = "Configure and reconnect the device over TCP/IP.\n"
|
|
||||||
"If a destination address is provided, then scrcpy connects to "
|
|
||||||
"this address before starting. The device must listen on the "
|
|
||||||
"given TCP port (default is 5555).\n"
|
|
||||||
"If no destination address is provided, then scrcpy attempts "
|
|
||||||
"to find the IP address of the current device (typically "
|
|
||||||
"connected over USB), enables TCP/IP mode, then connects to "
|
|
||||||
"this address before starting.",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.longopt_id = OPT_WINDOW_BORDERLESS,
|
.longopt_id = OPT_WINDOW_BORDERLESS,
|
||||||
.longopt = "window-borderless",
|
.longopt = "window-borderless",
|
||||||
|
|
Loading…
Reference in a new issue