From 66871cf3339b1a5de75618241ab0e0152b33c05a Mon Sep 17 00:00:00 2001 From: joanne cheng Date: Thu, 9 Oct 2025 10:14:54 +0200 Subject: [PATCH] update help doc for --diff-style so it shows correct options --- CHANGELOG.md | 1 + src/kaocha/runner.clj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 691e5e6c..5042b5ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Fix `kaocha.testable/test-seq` not respecting `:kaocha.testable/skip` on root testable - Fix `kaocha.testable/test-seq-with-skipped` omitting skipped tests on nested testables - `*.` will now match files with `.ext` extensions in any directory. +- update help doc in cli runner: `--diff-style` should only show `:none` and `:minimal` ## Changed diff --git a/src/kaocha/runner.clj b/src/kaocha/runner.clj index 4c934459..65d710e0 100644 --- a/src/kaocha/runner.clj +++ b/src/kaocha/runner.clj @@ -40,7 +40,7 @@ sym (symbol "kaocha.report" s)))) :assoc-fn accumulate] - [nil "--diff-style STYLE" "The style of diff to print on failing tests, either :none or :deep" + [nil "--diff-style STYLE" "The style of diff to print on failing tests, either :none or :minimal" :parse-fn parse-kw ] [nil "--plugin KEYWORD" "Load the given plugin."