From 6e91f41a10a51bcb742aee160e5f770b528890bb Mon Sep 17 00:00:00 2001 From: writegr <167099595+writegr@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:39:10 +0800 Subject: chore: fix some typos in comments (#404) Signed-off-by: writegr --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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'", -- cgit v1.2.3