From f49b590a5693045457f422c4e0c2cf776a1420a9 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 7 Jul 2022 15:44:25 +0800 Subject: [PATCH] chore: update description of --path-prefix --- README.md | 2 +- src/args.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")