From: sigoden Date: Thu, 7 Jul 2022 07:44:25 +0000 (+0800) Subject: chore: update description of --path-prefix X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=f49b590a5693045457f422c4e0c2cf776a1420a9;p=ozva-cloud chore: update description of --path-prefix --- diff --git a/README.md b/README.md index a3a86de..bc2e2a2 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ ARGS: OPTIONS: -b, --bind ... Specify bind address -p, --port Specify port to listen on [default: 5000] - --path-prefix Specify an path prefix + --path-prefix Specify a path prefix --hidden Hide directories from directory listings, separated by `,` -a, --auth ... Add auth for path --auth-method Select auth method [default: digest] [possible values: basic, digest] diff --git a/src/args.rs b/src/args.rs index e9efc6d..e4815c1 100644 --- a/src/args.rs +++ b/src/args.rs @@ -49,7 +49,7 @@ pub fn build_cli() -> Command<'static> { Arg::new("path-prefix") .long("path-prefix") .value_name("path") - .help("Specify an path prefix"), + .help("Specify a path prefix"), ) .arg( Arg::new("hidden")