diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2024-01-16 14:53:00 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2024-01-16 14:53:00 +0000 |
commit | e010d126cbbd4a31919e1b0e200076be7c00954e (patch) | |
tree | 6e61b5d0e2125e61773ac8441f5d1cb4e1fc1b66 /src/args.rs | |
parent | Merge pull request #1315 from zuisong/opt_compress_response (diff) | |
download | miniserve-e010d126cbbd4a31919e1b0e200076be7c00954e.tar.gz miniserve-e010d126cbbd4a31919e1b0e200076be7c00954e.zip |
Reformat args help
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 8 |
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", |