Re: [PATCH] range-diff: update stale summary of --no-dual-color
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 23, 2018, 20:54 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1808232254260.73@tvgsbejvaqbjf.bet>
- In-Reply-To
- <20180823023955.12980-1-kyle@kyleam.com>
Hi Kyle,
On Wed, 22 Aug 2018, Kyle Meyer wrote:
Show 20 quoted lines
> 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.
>
> 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..7dc90a5ec3 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_("restrict coloring to outer diff markers")),How about "use simple diff colors" instead?
Ciao, Johannes