From 64e397d18af0c66e6968a2d4dd752192cdd38d52 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 3 Aug 2022 08:58:52 +0800 Subject: [PATCH] chore: update --hidden help message --- README.md | 6 +++--- src/args.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 78969aefb..3611a0dc1 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ OPTIONS: -b, --bind ... Specify bind address -p, --port Specify port to listen on [default: 5000] --path-prefix Specify a path prefix - --hidden Hide directories from directory listings, separated by `,` + --hidden Hide paths from directory listings, separated by `,` -a, --auth ... Add auth for path --auth-method 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 diff --git a/src/args.rs b/src/args.rs index ae9ab54ec..283b5fc25 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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(