Add doc for --disable-upload

This commit is contained in:
Igor Katson 2024-08-28 18:07:53 +01:00
parent fc7ae3bbe5
commit 7fda8c0a14
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -203,6 +203,11 @@ struct Opts {
#[arg(long, env = "RQBIT_UMASK", value_parser=parse_umask)]
umask: Option<libc::mode_t>,
/// Disable uploading entirely. If this is set, rqbit won't share piece availability
/// and will disconnect on download request.
///
/// Might be useful e.g. if rqbit upload consumes all your upload bandwidth and interferes
/// with your other Internet usage.
#[arg(long, env = "RQBIT_DISABLE_UPLOAD")]
disable_upload: bool,
}