diff --git a/CHANGELOG.md b/CHANGELOG.md index 37bfed7bba..e27e802d1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). * Templates now support the `>=`, `>`, `<=`, and `<` relational operators for `Integer` types. +* The `--stat` option for `jj log`, `jj show` and `jj diff` now has a + short alias `-S` + ### Fixed bugs * The `$NO_COLOR` environment variable must now be non-empty to be respected. diff --git a/cli/src/diff_util.rs b/cli/src/diff_util.rs index 9fbffbca32..9684a20b06 100644 --- a/cli/src/diff_util.rs +++ b/cli/src/diff_util.rs @@ -92,7 +92,7 @@ pub struct DiffFormatArgs { #[arg(long, short)] pub summary: bool, /// Show a histogram of the changes - #[arg(long)] + #[arg(long, short = "S")] pub stat: bool, /// For each path, show only its type before and after ///