diff --git a/cli/src/commands/branch/create.rs b/cli/src/commands/branch/create.rs index b23cb666d8..bcdc0e1e89 100644 --- a/cli/src/commands/branch/create.rs +++ b/cli/src/commands/branch/create.rs @@ -25,7 +25,7 @@ use crate::ui::Ui; #[derive(clap::Args, Clone, Debug)] pub struct BranchCreateArgs { /// The branch's target revision - #[arg(long, short)] + #[arg(long, short, visible_alias = "at")] revision: Option, /// The branches to create diff --git a/cli/src/commands/branch/set.rs b/cli/src/commands/branch/set.rs index 2530df96d9..c7cc087ba7 100644 --- a/cli/src/commands/branch/set.rs +++ b/cli/src/commands/branch/set.rs @@ -25,7 +25,7 @@ use crate::ui::Ui; #[derive(clap::Args, Clone, Debug)] pub struct BranchSetArgs { /// The branch's target revision - #[arg(long, short)] + #[arg(long, short, visible_alias = "to")] revision: Option, /// Allow moving the branch backwards or sideways