]> git.ipfire.org Git - thirdparty/git.git/commitdiff
range-diff: update stale summary of --no-dual-color
authorKyle Meyer <kyle@kyleam.com>
Thu, 23 Aug 2018 21:57:48 +0000 (17:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Aug 2018 20:13:59 +0000 (13:13 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/range-diff.c

index f52d45d9d614445e3473c810e9305c986a4dfdf8..0aa9bed41f35bf99784acd4abab52df415c5fb00 100644 (file)
@@ -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;