]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Merge branch 'configurable-color' into next
authorDavid Ahern <dsahern@kernel.org>
Thu, 14 Sep 2023 15:21:45 +0000 (09:21 -0600)
committerDavid Ahern <dsahern@kernel.org>
Thu, 14 Sep 2023 15:21:45 +0000 (09:21 -0600)
Andrea Claudi  says:

====================

This series add support for the color parameter in iproute2 configure
script. The idea is to make it possible for iproute2 users and packagers
to set a default value for the color option different from the current
one, COLOR_OPT_NEVER, while maintaining the current default behaviour.

Patch 1 add the color option to the configure script. Users can set
three different values, never, auto and always, with the same meanings
they have for the -c / -color ip option. Default value is 'never', which
results in ip, tc and bridge to maintain their current output behaviour
(i.e. colorless output).

Patch 2 makes it possible for ip, tc and bridge to use the configured
value for color as their default color output.

====================

Signed-off-by: David Ahern <dsahern@kernel.org>

Trivial merge