]> OzVa Git service - ozva-cloud/commitdiff
refactor: change description for `--allow-archive` (#511)
authorsigoden <sigoden@gmail.com>
Tue, 24 Dec 2024 10:58:03 +0000 (18:58 +0800)
committerGitHub <noreply@github.com>
Tue, 24 Dec 2024 10:58:03 +0000 (18:58 +0800)
README.md
src/args.rs

index 652af4a9e730c622ebed1975cce0c1a868628639..62ddbfeed70a928c337feaa1c971ee6fe1c82387 100644 (file)
--- 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
index bd914aea0525d6341bce29a7a0779f280ef90b3d..032d3839d15c12fe855e0aff1a490f0ad0d98401 100644 (file)
@@ -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")