From f64d8f45aeecb986fb1a827dc2271e9df90545bf Mon Sep 17 00:00:00 2001 From: Augie Fackler Date: Wed, 28 Dec 2022 12:22:40 -0500 Subject: [PATCH] Commands: Alias commit to ci for cvs/mercurial/svn compatability As far as I can tell it won't hurt anyone to have this alias exist, but will help those of us with old muscle memory. --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index 1e28e25e0..58a712e85 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -366,7 +366,7 @@ struct DescribeArgs { /// Update the description and create a new change on top. #[derive(clap::Args, Clone, Debug)] -#[command(hide = true)] +#[command(hide = true, visible_aliases=&["ci"])] struct CommitArgs { /// The change description to use (don't open editor) #[arg(long, short)]