From 0ca92dcdc2aea83bbc7e848ee68ba99b607d97d3 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Thu, 18 Jul 2024 19:35:14 +0800 Subject: [PATCH] minor changes --- src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.rs b/src/args.rs index 10d9cb7..7ecf8ed 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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, /// Create a tun interface in a newly created unprivileged namespace