|
|
@ -9,8 +9,8 @@ pub mod parse; |
|
|
|
|
|
|
|
pub fn get_app() -> App<'static, 'static> {
|
|
|
|
App::new("Dynamic DNS Server")
|
|
|
|
.author("Drew Short, <warrick@sothr.com>")
|
|
|
|
.version(VERSION)
|
|
|
|
.author("Drew Short <warrick@sothr.com>")
|
|
|
|
.about("Receive DDNS requests and update associated cloudflare subdomains")
|
|
|
|
.args(&[
|
|
|
|
Arg::with_name("config")
|
|
|
@ -39,7 +39,7 @@ pub fn get_app() -> App<'static, 'static> { |
|
|
|
.long("workers")
|
|
|
|
.value_name("NUMBER")
|
|
|
|
.default_value(&DEFAULT_WORKERS_STR)
|
|
|
|
.help("The number of workers to serve requests with.")
|
|
|
|
.help("The number of workers to serve requests with (Defaults to the number of cores on the system).")
|
|
|
|
.takes_value(true),
|
|
|
|
])
|
|
|
|
}
|