From 8bcf7ba0376c0ab54938624a8798cb4e7e156448 Mon Sep 17 00:00:00 2001 From: khai96_ Date: Mon, 6 May 2019 21:13:42 +0700 Subject: Add example for --auth formatting --- src/args.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/args.rs b/src/args.rs index 63799a0..a67583a 100644 --- a/src/args.rs +++ b/src/args.rs @@ -40,6 +40,7 @@ struct CLIArgs { /// Set authentication. Currently supported formats: /// username:password, username:sha256:hash, username:sha512:hash + /// (e.g. joe:123, joe:sha256:a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3) #[structopt(short = "a", long = "auth", parse(try_from_str = "parse_auth"))] auth: Option, -- cgit v1.2.3