refactor: change description for `--allow-archive` (#511)
parent
f1c9776962
commit
cbc620481d
|
@ -66,7 +66,7 @@ Options:
|
|||
--allow-delete Allow delete files/folders
|
||||
--allow-search Allow search files/folders
|
||||
--allow-symlink Allow symlink to files/folders outside root directory
|
||||
--allow-archive Allow zip archive generation
|
||||
--allow-archive Allow download folders as archive file
|
||||
--enable-cors Enable CORS, sets `Access-Control-Allow-Origin: *`
|
||||
--render-index Serve index.html when requesting a directory, returns 404 if not found index.html
|
||||
--render-try-index Serve index.html when requesting a directory, returns directory listing if not found index.html
|
||||
|
|
|
@ -146,7 +146,7 @@ pub fn build_cli() -> Command {
|
|||
.hide_env(true)
|
||||
.long("allow-archive")
|
||||
.action(ArgAction::SetTrue)
|
||||
.help("Allow zip archive generation"),
|
||||
.help("Allow download folders as archive file"),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("enable-cors")
|
||||
|
|
Loading…
Reference in New Issue