Skip to content

Commit

Permalink
fix: use arg over clap
Browse files Browse the repository at this point in the history
Co-authored-by: Sascha <[email protected]>
  • Loading branch information
bittermandel and tmlye authored Jun 24, 2024
1 parent d7eafb6 commit bb80489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/environments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct Create {
#[arg(help = "Name of the environment to create")]
name: String,

#[clap(long, help = "Copy from an existing environment", num_args(0..=1), require_equals(true), value_name = "ENV_NAME",)]
#[arg(long, help = "Copy from an existing environment", num_args(0..=1), require_equals(true), value_name = "ENV_NAME",)]
copy_from: Option<String>,
}

Expand Down

0 comments on commit bb80489

Please sign in to comment.