Re: [PATCH v2 net-next] ip: Add color output option

2015-04-20 Thread Mathias Nyman
Thanks for bearing with my first patch. On 2015-04-20 10:16-0700, Stephen Hemminger wrote: On Sat, 18 Apr 2015 13:39:45 +0300 Mathias Nyman wrote: It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to highlight these

Re: [PATCH v2 net-next] ip: Add color output option

2015-04-20 Thread Stephen Hemminger
On Sat, 18 Apr 2015 13:39:45 +0300 Mathias Nyman wrote: > It is hard to quickly find what you are looking for in the output of > the ip > command. Color helps. > > This patch adds a '-c' flag to highlight these with individual colors: >- interface name >- ip address >- mac address >

[PATCH v2 net-next] ip: Add color output option

2015-04-18 Thread Mathias Nyman
It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to highlight these with individual colors: - interface name - ip address - mac address - up/down state Signed-off-by: Mathias Nyman --- include/color.h | 17 +++