From a736c153ae5700159cdc84932faaa6b23aefb61b Mon Sep 17 00:00:00 2001 From: Hong Shin Date: Thu, 21 Sep 2023 15:29:56 -0700 Subject: [PATCH] Add desc as an alias for description --- cli/src/commands/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index 4e2be8d645..b5ca37811b 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -439,6 +439,7 @@ struct InterdiffArgs { /// Starts an editor to let you edit the description of a change. The editor /// will be $EDITOR, or `pico` if that's not defined (`Notepad` on Windows). #[derive(clap::Args, Clone, Debug)] +#[command(visible_aliases = &["desc"])] struct DescribeArgs { /// The revision whose description to edit #[arg(default_value = "@")]