chore: refactor clap multiple_occurrences and multiple_values (#130)

This commit is contained in:
sigoden
2022-08-27 10:30:08 +08:00
committed by GitHub
parent 31c832a742
commit bde06fef94
3 changed files with 105 additions and 76 deletions

View File

@@ -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 paths from directory listings, separated by `,`
--hidden <value>... Hide paths from directory listings
-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