diff --git a/README.md b/README.md index 7eb5818..6a0ae30 100644 --- a/README.md +++ b/README.md @@ -557,6 +557,7 @@ to command line arguments: | `FFSEND_TIMEOUT` | `--timeout ` | Request timeout (0 to disable) | | `FFSEND_TRANSFER_TIMEOUT` | `--transfer-timeout ` | Transfer timeout (0 to disable) | | `FFSEND_EXPIRY_TIME` | `--expiry-time ` | Default upload expiry time | +| `FFSEND_DOWNLOAD_LIMIT` | `--download-limit ` | Default download limit | | `FFSEND_API` | `--api ` | Server API version, `-` to lookup | | `FFSEND_BASIC_AUTH` | `--basic-auth ` | Basic HTTP authentication credentials to use. | diff --git a/src/cmd/arg/download_limit.rs b/src/cmd/arg/download_limit.rs index 444984c..dc39f69 100644 --- a/src/cmd/arg/download_limit.rs +++ b/src/cmd/arg/download_limit.rs @@ -68,6 +68,7 @@ impl CmdArg for ArgDownloadLimit { .alias("downloads") .alias("download") .value_name("COUNT") + .env("FFSEND_DOWNLOAD_LIMIT") .help("The file download limit") } }