[PATCH v3] range-diff: update stale summary of --no-dual-color
- From
Kyle Meyer <kyle@kyleam.com>
- Date
- Aug 23, 2018, 21:57 UTC
- Message-ID
- <20180823215748.3474-1-kyle@kyleam.com>
- In-Reply-To
- <20180823211028.GA99542@aiede.svl.corp.google.com>
275267937b (range-diff: make dual-color the default mode, 2018-08-13) replaced --dual-color with --no-dual-color but left the option's summary untouched. Rewrite the summary to describe --no-dual-color rather than dual-color.
Helped-by: Jonathan Nieder <jrnieder@gmail.com> Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Kyle Meyer <kyle@kyleam.com> --- builtin/range-diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/range-diff.c b/builtin/range-diff.c index f52d45d9d6..0aa9bed41f 100644 --- a/builtin/range-diff.c +++ b/builtin/range-diff.c @@ -25,7 +25,7 @@ int cmd_range_diff(int argc, const char **argv, const char *prefix) OPT_INTEGER(0, "creation-factor", &creation_factor, N_("Percentage by which creation is weighted")), OPT_BOOL(0, "no-dual-color", &simple_color, - N_("color both diff and diff-between-diffs")), + N_("use simple diff colors")), OPT_END() }; int i, j, res = 0;
-- 2.18.0