diff --git a/src/cli.rs b/src/cli.rs index 43990f5c..020b11f5 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -28,7 +28,7 @@ pub struct Opts { target: Option, /// A list of flakes to deploy alternatively - #[arg(long, group = "deploy")] + #[arg(long, group = "deploy", num_args = 1..)] targets: Option>, /// Treat targets as files instead of flakes #[clap(short, long)] @@ -40,6 +40,7 @@ pub struct Opts { #[arg(short, long)] interactive: bool, /// Extra arguments to be passed to nix build + #[arg(last = true)] extra_build_args: Vec, /// Print debug logs to output