[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <070af332-d19e-325c-3c13-a8575e914f40@gmail.com>
Date: Fri, 17 Aug 2018 14:22:50 -0600
From: David Ahern <dsahern@...il.com>
To: Phil Sutter <phil@....cc>,
Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, Till Maas <opensource@...l.name>
Subject: Re: [iproute PATCH v5 1/2] Make colored output configurable
On 8/17/18 10:38 AM, Phil Sutter wrote:
> Allow for -color={never,auto,always} to have colored output disabled,
> enabled only if stdout is a terminal or enabled regardless of stdout
> state.
>
> Signed-off-by: Phil Sutter <phil@....cc>
> ---
> Changes since v1:
> - Allow to override isatty() check by specifying '-color' flag more than
> once.
> - Document new behaviour in man pages.
>
> Changes since v2:
> - Implement new -color=foo syntax.
> - Update commit message and man page texts accordingly.
>
> Changes since v3:
> - Fix typo in tc/tc.c causing compile error.
>
> Changes since v4:
> - Make matches_color() return boolean.
> ---
> bridge/bridge.c | 3 +--
> include/color.h | 9 +++++++++
> ip/ip.c | 3 +--
> lib/color.c | 33 ++++++++++++++++++++++++++++++++-
> man/man8/bridge.8 | 13 +++++++++++--
> man/man8/ip.8 | 13 +++++++++++--
> man/man8/tc.8 | 13 +++++++++++--
> tc/tc.c | 3 +--
> 8 files changed, 77 insertions(+), 13 deletions(-)
>
LGTM.
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists