Skip to content

Commit 2edaf49

Browse files
committed
Fix multiple targets failing to be parsed after a major clap update (fixes serokell#325)
1 parent 6bc76b8 commit 2edaf49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct Opts {
2828
target: Option<String>,
2929

3030
/// A list of flakes to deploy alternatively
31-
#[arg(long, group = "deploy")]
31+
#[arg(long, group = "deploy", num_args = 1..)]
3232
targets: Option<Vec<String>>,
3333
/// Treat targets as files instead of flakes
3434
#[clap(short, long)]

0 commit comments

Comments
 (0)