Skip to content

Commit

Permalink
Make --name a global arg
Browse files Browse the repository at this point in the history
Fixes #89
  • Loading branch information
piegamesde committed Feb 25, 2025
1 parent f15ccc2 commit 704baf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
/// Don't actually apply the changes
#[arg(short = 'n', long)]
Expand Down

0 comments on commit 704baf5

Please sign in to comment.