]> git.ipfire.org Git - thirdparty/iproute2.git/commit
allow overriding color option in environment
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 15 Sep 2023 16:41:17 +0000 (09:41 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 15 Sep 2023 16:41:17 +0000 (09:41 -0700)
commit6044fa3d0f47be0574255331095438cca18d7c98
tree3a28fee2e7ef0a4b0576c2784d8e8d35f2987753
parentaf0ea2cd0b9ee406d4d3f4f72a405a0978ea65ab
allow overriding color option in environment

For ip, tc, and bridge command introduce a new way to enable
automatic colorization via environment variable.

Example:
  $ IP_COLOR=auto ip -br show addr

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