mirror of
https://git.mentality.rip/numas13/xash3d-master.git
synced 2025-01-22 12:54:24 +00:00
admin: Specify host with -a
This commit is contained in:
parent
8b857ad2a1
commit
e7d846013d
@ -51,7 +51,7 @@ pub fn parse() -> Cli {
|
|||||||
opts.optflag("h", "help", "print usage help");
|
opts.optflag("h", "help", "print usage help");
|
||||||
opts.optflag("v", "version", "print program version");
|
opts.optflag("v", "version", "print program version");
|
||||||
let help = format!("address to connect [default: {}]", cli.address);
|
let help = format!("address to connect [default: {}]", cli.address);
|
||||||
opts.optopt("h", "host", &help, "ADDR");
|
opts.optopt("a", "host", &help, "ADDR");
|
||||||
let help = format!("hash length [default: {}]", cli.hash_len);
|
let help = format!("hash length [default: {}]", cli.hash_len);
|
||||||
opts.optopt("l", "hash-length", &help, "N");
|
opts.optopt("l", "hash-length", &help, "N");
|
||||||
let help = format!("hash key [default: {}]", cli.hash_key);
|
let help = format!("hash key [default: {}]", cli.hash_key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user