diff --git a/src/cli.rs b/src/cli.rs index cdb99b9..03be17c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -380,7 +380,7 @@ pub enum AddCommands { pub struct AddOpts { /// Add the pin with a custom name. /// If a pin with that name already exists, it willl be overwritten - #[arg(long)] + #[arg(long, global = true)] pub name: Option, /// Don't actually apply the changes #[arg(short = 'n', long)]