Blame SOURCES/0006-man-ifstat.8-Document-json-and-pretty-options.patch

930fb9
From a2e5a2d8f8c41fb4f87c66d827f3e22035a11dd7 Mon Sep 17 00:00:00 2001
930fb9
From: Phil Sutter <psutter@redhat.com>
930fb9
Date: Thu, 13 Sep 2018 20:38:04 +0200
930fb9
Subject: [PATCH] man: ifstat.8: Document --json and --pretty options
930fb9
930fb9
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1612704
930fb9
Upstream Status: iproute2.git commit a486d25b9cbfc
930fb9
930fb9
commit a486d25b9cbfc3469e30297495333d95a5576bdc
930fb9
Author: Phil Sutter <phil@nwl.cc>
930fb9
Date:   Thu Aug 16 12:27:58 2018 +0200
930fb9
930fb9
    man: ifstat.8: Document --json and --pretty options
930fb9
930fb9
    Signed-off-by: Phil Sutter <phil@nwl.cc>
930fb9
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
930fb9
---
930fb9
 man/man8/ifstat.8 | 8 ++++++++
930fb9
 1 file changed, 8 insertions(+)
930fb9
930fb9
diff --git a/man/man8/ifstat.8 b/man/man8/ifstat.8
930fb9
index 3ba0088..8cd164d 100644
930fb9
--- a/man/man8/ifstat.8
930fb9
+++ b/man/man8/ifstat.8
930fb9
@@ -48,6 +48,14 @@ Report average over the last SECS seconds.
930fb9
 .B \-z, \-\-zeros
930fb9
 Show entries with zero activity.
930fb9
 .TP
930fb9
+.B \-j, \-\-json
930fb9
+Display results in JSON format
930fb9
+.TP
930fb9
+.B \-p, \-\-pretty
930fb9
+If combined with
930fb9
+.BR \-\-json ,
930fb9
+pretty print the output.
930fb9
+.TP
930fb9
 .B \-x, \-\-extended=TYPE
930fb9
 Show extended stats of TYPE. Supported types are:
930fb9
 
930fb9
-- 
930fb9
1.8.3.1
930fb9