]> OzVa Git service - ozva-cloud/commitdiff
chore: update description of --path-prefix
authorsigoden <sigoden@gmail.com>
Thu, 7 Jul 2022 07:44:25 +0000 (15:44 +0800)
committersigoden <sigoden@gmail.com>
Thu, 7 Jul 2022 07:44:25 +0000 (15:44 +0800)
README.md
src/args.rs

index a3a86deea6362261c050b937ec64df9953154818..bc2e2a2cd9c9fc26af39a27d9790fe575ada5c9b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ ARGS:
 OPTIONS:
     -b, --bind <addr>...         Specify bind address
     -p, --port <port>            Specify port to listen on [default: 5000]
-        --path-prefix <path>     Specify an path prefix
+        --path-prefix <path>     Specify a path prefix
         --hidden <value>         Hide directories from directory listings, separated by `,`
     -a, --auth <rule>...         Add auth for path
         --auth-method <value>    Select auth method [default: digest] [possible values: basic, digest]
index e9efc6dcdd2602ebf6fdcd735db62aed102e99c5..e4815c1109eebb9711929686176fd4cb5a8a8824 100644 (file)
@@ -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")