Skip to content

Commit

Permalink
chore: update --hidden help message
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Aug 3, 2022
1 parent cc0014c commit 64e397d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 64e397d

Please sign in to comment.