From cbc620481dad734a4a0f970e447e2944317c3bf9 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 24 Dec 2024 18:58:03 +0800 Subject: [PATCH] refactor: change description for `--allow-archive` (#511) --- README.md | 2 +- src/args.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 652af4a..62ddbfe 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/args.rs b/src/args.rs index bd914ae..032d383 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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")