diff options
| author | khai96_ <hvksmr1996@gmail.com> | 2019-04-19 20:03:40 +0000 |
|---|---|---|
| committer | khai96_ <hvksmr1996@gmail.com> | 2019-04-19 20:03:40 +0000 |
| commit | a8983921f1b20112591bb41dc6f9ab6ba8340c2f (patch) | |
| tree | af0ca133fe8372b767138ccdaf3cc576de5fce46 | |
| parent | Add tests for where parse_auth fails (diff) | |
| download | miniserve-a8983921f1b20112591bb41dc6f9ab6ba8340c2f.tar.gz miniserve-a8983921f1b20112591bb41dc6f9ab6ba8340c2f.zip | |
Update help description for --auth
| -rw-r--r-- | src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index d42d317..433840e 100644 --- a/src/args.rs +++ b/src/args.rs @@ -37,7 +37,7 @@ struct CLIArgs { )] interfaces: Vec<IpAddr>, - /// Set authentication (username:password) + /// Set authentication (username:password, username:sha256:hash, or username:sha512:hash) #[structopt(short = "a", long = "auth", parse(try_from_str = "parse_auth"))] auth: Option<auth::RequiredAuth>, |
