Skip to content
Snippets Groups Projects
Commit eb4d8600 authored by Michel Kuhlmann's avatar Michel Kuhlmann
Browse files

rename cmd-arg: upload_size_limit -> upload-size-limit

parent 837887b1
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ OPTIONS:
--try-file <PATH>
serve this file (server root relative) in place of missing files (useful for single page apps) [aliases:
try-file-404]
-l, --upload_size_limit <upload_size_limit> Upload file size limit (default 8 Mb) [default: 8000000]
-l, --upload-size-limit <upload_size_limit> Upload file size limit [bytes] [default: 8000000]
```
......
......@@ -106,7 +106,7 @@ fn main() {
.help("TLS/SSL certificate password"))
.arg(clap::Arg::with_name("upload_size_limit")
.short("l")
.long("upload_size_limit")
.long("upload-size-limit")
.takes_value(true)
.default_value("8000000")
.validator(|s| {
......@@ -114,7 +114,7 @@ fn main() {
Ok(_) => Ok(()),
Err(e) => Err(e.description().to_string())
}})
.help("Upload file size limit (default 8 Mb)"))
.help("Upload file size limit [bytes]"))
.arg(clap::Arg::with_name("ip")
.long("ip")
.takes_value(true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment