aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorwritegr <[email protected]>2024-04-18 14:39:10 +0800
committerGitHub <[email protected]>2024-04-18 14:39:10 +0800
commit6e91f41a10a51bcb742aee160e5f770b528890bb (patch)
tree5babf5d523194a2ee1321c13f41d4fa64684e499 /src
parent1a7cee157ce8dc7f6324fef8cebbe8fdf1eef25f (diff)
downloadrustdesk-server-6e91f41a10a51bcb742aee160e5f770b528890bb.tar.gz
rustdesk-server-6e91f41a10a51bcb742aee160e5f770b528890bb.zip
chore: fix some typos in comments (#404)
Signed-off-by: writegr <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index b97fbec..36233ee 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,9 +17,9 @@ fn main() -> ResultType<()> {
"-c --config=[FILE] +takes_value 'Sets a custom config file'
-p, --port=[NUMBER(default={RENDEZVOUS_PORT})] 'Sets the listening port'
-s, --serial=[NUMBER(default=0)] 'Sets configure update serial number'
- -R, --rendezvous-servers=[HOSTS] 'Sets rendezvous servers, seperated by colon'
+ -R, --rendezvous-servers=[HOSTS] 'Sets rendezvous servers, separated by colon'
-u, --software-url=[URL] 'Sets download url of RustDesk software of newest version'
- -r, --relay-servers=[HOST] 'Sets the default relay servers, seperated by colon'
+ -r, --relay-servers=[HOST] 'Sets the default relay servers, separated by colon'
-M, --rmem=[NUMBER(default={RMEM})] 'Sets UDP recv buffer size, set system rmem_max first, e.g., sudo sysctl -w net.core.rmem_max=52428800. vi /etc/sysctl.conf, net.core.rmem_max=52428800, sudo sysctl –p'
, --mask=[MASK] 'Determine if the connection comes from LAN, e.g. 192.168.0.0/16'
-k, --key=[KEY] 'Only allow the client with the same key'",