From: David Ahern Date: Sat, 10 Feb 2018 16:24:57 +0000 (-0800) Subject: Merge branch 'iproute-json-color' into next X-Git-Tag: v4.17.0~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a809da4f56b724861725e74f809b49dae084fa5;p=thirdparty%2Fiproute2.git Merge branch 'iproute-json-color' into next Stephen Hemminger says: ==================== From: Stephen Hemminger This set of patches adds JSON output to route printing. Tested for the simple cases, but there are many variations and there such as lw tunnels which have not be tested. The color formatting may need some additional tweaks. It looks like for some tags the tag is also showing up in color. This should be fixed in print_color_string rather than having to do special case handling in so many places. This patchset also changes the default JSON output to be compressed (since the purpose of JSON is to make output machine readable); but do optional pretty print formatting with -p flag. ==================== Signed-off-by: David Ahern --- 5a809da4f56b724861725e74f809b49dae084fa5