Skip to content

Commit

Permalink
fix: eka init failed due to arg group conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Oct 22, 2024
1 parent f00f25b commit 8f58df0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand All @@ -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")]
Expand Down

0 comments on commit 8f58df0

Please sign in to comment.