aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2024-01-16 14:53:00 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2024-01-16 14:53:00 +0000
commite010d126cbbd4a31919e1b0e200076be7c00954e (patch)
tree6e61b5d0e2125e61773ac8441f5d1cb4e1fc1b66 /src
parentMerge pull request #1315 from zuisong/opt_compress_response (diff)
downloadminiserve-e010d126cbbd4a31919e1b0e200076be7c00954e.tar.gz
miniserve-e010d126cbbd4a31919e1b0e200076be7c00954e.zip
Reformat args help
Diffstat (limited to 'src')
-rw-r--r--src/args.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/args.rs b/src/args.rs
index 25f2915..e42d2ff 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -214,11 +214,13 @@ pub struct CliArgs {
#[arg(short = 'z', long = "enable-zip", env = "MINISERVE_ENABLE_ZIP")]
pub enable_zip: bool,
- /// Enable compress response
+ /// Compress response
///
- /// WARNING: Enabling this option may slow down transfers due to CPU overhead, so it is disabled by default.
+ /// WARNING: Enabling this option may slow down transfers due to CPU overhead, so it is
+ /// disabled by default.
///
- /// Only enable this option if you know that your users have slow connections or if you want to minimize your server's bandwidth usage.
+ /// Only enable this option if you know that your users have slow connections or if you want to
+ /// minimize your server's bandwidth usage.
#[arg(
short = 'C',
long = "compress-response",