bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#20062: bug#20062: [PATCH] diff: add support for --co


From: Giuseppe Scrivano
Subject: [bug-diffutils] bug#20062: bug#20062: [PATCH] diff: add support for --color
Date: Mon, 09 Mar 2015 22:21:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Eric Blake <address@hidden> writes:

>> address@hidden auto
>> address@hidden auto @r{color option}
>> address@hidden terminal, using color iff
>> +- Only use color if standard output is a terminal.
>> address@hidden always
>> address@hidden always @r{color option}
>> +- Always use color.
>> address@hidden itemize
>> +Specifying @option{--color} and no @var{when} is equivalent to
>> address@hidden
>
> Is this the right default?  Some GNU programs default --color to
> --color=auto; others to --color=always.  I'm 50:50 on which default is
> better, but it's worth thinking about rather than just blindly picking
> one, as we have both GNU styles as precedent.

I thought about it as well, and then I decided to go for the same
default as ls but I still believe that auto would be a better one.

If it is fine for everyone, I can rework the patch and change the
default to auto.

Regards,
Giuseppe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]