From 8f58df0cc7a12bab13ce388a3ec84158e8d26072 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Tue, 22 Oct 2024 10:31:55 -0600 Subject: [PATCH] fix: `eka init` failed due to arg group conflict --- src/cli/commands/init.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cli/commands/init.rs b/src/cli/commands/init.rs index 0120820..d17c225 100644 --- a/src/cli/commands/init.rs +++ b/src/cli/commands/init.rs @@ -3,6 +3,7 @@ use clap::Parser; use crate::cli::store::Detected; #[derive(Parser, Debug)] +#[group(id = "init_args")] pub struct Args { #[command(flatten)] #[cfg(feature = "git")] @@ -15,6 +16,7 @@ mod git { use clap::Parser; #[derive(Parser, Debug)] #[command(next_help_heading = "Git Options")] + #[group(id = "git_args")] pub(super) struct Args { /// The target remote to initialize #[arg(long, short = 't', default_value_t = git::default_remote().to_owned(), name = "TARGET")]