From e7d846013d8202037fa6dfa7e7896ccfc54be2c3 Mon Sep 17 00:00:00 2001 From: Denis Drakhnia Date: Tue, 17 Oct 2023 16:02:57 +0300 Subject: [PATCH] admin: Specify host with `-a` --- admin/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/src/cli.rs b/admin/src/cli.rs index 65503ca..18e6466 100644 --- a/admin/src/cli.rs +++ b/admin/src/cli.rs @@ -51,7 +51,7 @@ pub fn parse() -> Cli { opts.optflag("h", "help", "print usage help"); opts.optflag("v", "version", "print program version"); 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); opts.optopt("l", "hash-length", &help, "N"); let help = format!("hash key [default: {}]", cli.hash_key);