diff --git a/shared/src/types.rs b/shared/src/types.rs index 6b2099f..c681ec7 100644 --- a/shared/src/types.rs +++ b/shared/src/types.rs @@ -355,7 +355,7 @@ pub struct EnableDisablePeerOpts { pub name: Option, /// Bypass confirmation - #[clap(long)] + #[clap(long,requires("name"))] pub yes: bool, }