linma / rpms / iproute

Forked from rpms/iproute 4 years ago
Clone

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

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