minor changes

This commit is contained in:
ssrlive 2024-07-18 19:35:14 +08:00
parent 635c7e557f
commit 0ca92dcdc2

View file

@ -31,7 +31,7 @@ pub struct Args {
/// This setting is passed to the tun2 crate.
/// See [tun2::Configuration::close_fd_on_drop].
#[cfg(unix)]
#[arg(long, conflicts_with = "tun")]
#[arg(long, value_name = "true or false", conflicts_with = "tun")]
pub close_fd_on_drop: Option<bool>,
/// Create a tun interface in a newly created unprivileged namespace