mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-02-16 10:30:44 +00:00
version
This commit is contained in:
@@ -28,7 +28,7 @@ async fn main() -> ResultType<()> {
|
||||
DEFAULT_PORT
|
||||
);
|
||||
let matches = App::new("hbbr")
|
||||
.version("1.0")
|
||||
.version(hbbs::VERSION)
|
||||
.author("Zhou Huabing <info@rustdesk.com>")
|
||||
.about("RustDesk Relay Server")
|
||||
.args_from_usage(&args)
|
||||
|
||||
@@ -2,3 +2,5 @@ mod rendezvous_server;
|
||||
mod sled_async;
|
||||
use sled_async::*;
|
||||
pub use rendezvous_server::*;
|
||||
mod version;
|
||||
pub use version::*;
|
||||
|
||||
@@ -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 <info@rustdesk.com>")
|
||||
.about("RustDesk Rendezvous Server")
|
||||
.args_from_usage(&args)
|
||||
|
||||
Reference in New Issue
Block a user