From 45830bd29c9143b613a10c72a63318b94d29b5d8 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Mon, 1 Apr 2024 19:46:45 -0700 Subject: [PATCH] cmd `squash`: alias `--to` for the `--into` flag I keep typing `--to` since I'm used to `jj move` interface. It is also shorter. --- cli/src/commands/squash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/squash.rs b/cli/src/commands/squash.rs index eb0883b8c8b..fec91a7cabe 100644 --- a/cli/src/commands/squash.rs +++ b/cli/src/commands/squash.rs @@ -56,7 +56,7 @@ pub(crate) struct SquashArgs { #[arg(long, conflicts_with = "revision")] from: Option, /// Revision to squash into (default: @) - #[arg(long, conflicts_with = "revision")] + #[arg(long, conflicts_with = "revision", visible_alias = "to")] into: Option, /// The description to use for squashed revision (don't open editor) #[arg(long = "message", short, value_name = "MESSAGE")]