diff --git a/src/cli/cli_config.rs b/src/cli/cli_config.rs index 634ef168fb..c2c7840732 100644 --- a/src/cli/cli_config.rs +++ b/src/cli/cli_config.rs @@ -151,15 +151,15 @@ impl PrefixUpdateConfig { #[derive(Parser, Debug, Default, Clone)] pub struct GitRev { /// The git branch - #[clap(long, requires = "git", conflicts_with_all = ["tag", "rev"], group="git_group")] + #[clap(long, requires = "git", conflicts_with_all = ["tag", "rev"])] pub branch: Option, /// The git tag - #[clap(long, requires = "git", conflicts_with_all = ["branch", "rev"], group="git_group")] + #[clap(long, requires = "git", conflicts_with_all = ["branch", "rev"])] pub tag: Option, /// The git revision - #[clap(long, requires = "git", conflicts_with_all = ["branch", "tag"], group="git_group")] + #[clap(long, requires = "git", conflicts_with_all = ["branch", "tag"])] pub rev: Option, } @@ -258,7 +258,7 @@ pub struct DependencyConfig { pub feature: FeatureName, /// The git url to use when adding a git dependency - #[clap(long, short, group = "git_group")] + #[clap(long, short)] pub git: Option, #[clap(flatten)] @@ -266,7 +266,7 @@ pub struct DependencyConfig { pub rev: Option, /// The subdirectory of the git repository to use - #[clap(long, short, requires = "git", group = "git_group")] + #[clap(long, short, requires = "git")] pub subdir: Option, }