Better --help text

This commit is contained in:
Igor Katson 2025-07-04 10:04:08 +01:00
parent 1180c36c79
commit 6ea9d94e5a
No known key found for this signature in database
GPG Key ID: B4EC22B66D61A3F5
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ struct Opts {
/// What network device to bind to for DHT, BT-UDP, BT-TCP, trackers and LSD. /// What network device to bind to for DHT, BT-UDP, BT-TCP, trackers and LSD.
/// On OSX will use IP(V6)_BOUND_IF, on Linux will use SO_BINDTODEVICE. /// On OSX will use IP(V6)_BOUND_IF, on Linux will use SO_BINDTODEVICE.
///
/// Not supported on Windows (will error if you try to use it).
#[arg(long = "bind-device", env = "RQBIT_BIND_DEVICE")] #[arg(long = "bind-device", env = "RQBIT_BIND_DEVICE")]
bind_device_name: Option<String>, bind_device_name: Option<String>,