Skip to content

Commit 7063f5b

Browse files
committed
change!: ein tools to ein tool for as it's more intuitive
1 parent ee7b5bb commit 7063f5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/porcelain/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn main() -> Result<()> {
3535
),
3636
Subcommands::Init { directory } => core::repository::init(directory).map(|_| ()),
3737
#[cfg(feature = "gitoxide-core-tools")]
38-
Subcommands::Tools(tool) => match tool {
38+
Subcommands::Tool(tool) => match tool {
3939
crate::porcelain::options::ToolCommands::EstimateHours(crate::porcelain::options::EstimateHours {
4040
working_dir,
4141
refname,

src/porcelain/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub enum Subcommands {
3535
#[cfg(feature = "gitoxide-core-tools")]
3636
/// A selection of useful tools
3737
#[clap(subcommand)]
38-
Tools(ToolCommands),
38+
Tool(ToolCommands),
3939
#[cfg(debug_assertions)]
4040
Panic,
4141
}

0 commit comments

Comments
 (0)