diff options
author | hzhou <[email protected]> | 2020-09-24 17:26:58 +0800 |
---|---|---|
committer | hzhou <[email protected]> | 2020-09-24 17:26:58 +0800 |
commit | 3d5d219a8c016673c2e73caabbc08c08aeeec847 (patch) | |
tree | 2764857b65c78238b3cd508e3f10ea70c98fddea /src/main.rs | |
parent | a4a7602ba66f833b5c8dc7fcd0b1474f72bffd7f (diff) | |
download | rustdesk-server-3d5d219a8c016673c2e73caabbc08c08aeeec847.tar.gz rustdesk-server-3d5d219a8c016673c2e73caabbc08c08aeeec847.zip |
version
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index c66bb9c..43c6ef2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,14 +13,14 @@ async fn main() -> ResultType<()> { let args = format!( "-c --config=[FILE] +takes_value 'Sets a custom config file' -p, --port=[NUMBER(default={})] 'Sets the listening port' - -s, --serial=[NUMBER(default={0})] 'Sets configure update serial number' + -s, --serial=[NUMBER(default=0)] 'Sets configure update serial number' -R, --rendezvous-servers=[HOSTS] 'Sets rendezvous servers, seperated by colon' -u, --software-url=[URL] 'Sets download url of RustDesk software of newest version' -r, --relay-server=[HOST] 'Sets the default relay server'", DEFAULT_PORT ); let matches = App::new("hbbs") - .version("1.0") + .version(crate::VERSION) .author("Zhou Huabing <[email protected]>") .about("RustDesk Rendezvous Server") .args_from_usage(&args) |