]> OzVa Git service - ozva-cloud/commitdiff
chore: update --hidden help message
authorsigoden <sigoden@gmail.com>
Wed, 3 Aug 2022 00:58:52 +0000 (08:58 +0800)
committersigoden <sigoden@gmail.com>
Wed, 3 Aug 2022 00:58:52 +0000 (08:58 +0800)
README.md
src/args.rs

index 78969aefb92689e02b8b80c3c71bbfeb2e8402da..3611a0dc1a3f5589442be0dda45fe94143eb841c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ OPTIONS:
     -b, --bind <addr>...         Specify bind address
     -p, --port <port>            Specify port to listen on [default: 5000]
         --path-prefix <path>     Specify a path prefix
-        --hidden <value>         Hide directories from directory listings, separated by `,`
+        --hidden <value>         Hide paths from directory listings, separated by `,`
     -a, --auth <rule>...         Add auth for path
         --auth-method <value>    Select auth method [default: digest] [possible values: basic, digest]
     -A, --allow-all              Allow all operations
@@ -186,9 +186,9 @@ dufs -a /@admin:pass1@* -a /ui@designer:pass2 -A
 - Account `designer:pass2` can upload/delete/view/download any files/folders in the `ui` folder.
 
 
-### Hide
+### Hidden Paths
 
-Dufs supports hiding directories/files via option `--hidden`.
+Dufs supports hiding paths from directory listings via option `--hidden`.
 
 ```
 dufs --hidden .git,.DS_Store
index ae9ab54ecc4ba419e2b5697cc2a3c6346c43a0db..283b5fc251390bea9dc4978dcae8267fca8f42e0 100644 (file)
@@ -56,7 +56,7 @@ pub fn build_cli() -> Command<'static> {
         .arg(
             Arg::new("hidden")
                 .long("hidden")
-                .help("Hide directories from directory listings, separated by `,`")
+                .help("Hide paths from directory listings, separated by `,`")
                 .value_name("value"),
         )
         .arg(