]> git.proxmox.com Git - mirror_iproute2.git/commit
Make colored output configurable
authorPhil Sutter <phil@nwl.cc>
Fri, 17 Aug 2018 16:38:45 +0000 (18:38 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Aug 2018 15:54:06 +0000 (08:54 -0700)
commitff1ab8edf827f55b86c6487c90b7454975d52236
treebce3e1f8c4562ad44c3e418b340069c15bcbaafc
parent644b9c238c2dde8b0b931d153fc6719e00ebfc6b
Make colored output configurable

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@nwl.cc>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
bridge/bridge.c
include/color.h
ip/ip.c
lib/color.c
man/man8/bridge.8
man/man8/ip.8
man/man8/tc.8
tc/tc.c