Blame SOURCES/0007-man-rtacct.8-Fix-nstat-options.patch

930fb9
From f586cb6ed5543621ec55ac07a6d2b72504c9c65b 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: rtacct.8: Fix nstat options
930fb9
930fb9
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1612704
930fb9
Upstream Status: iproute2.git commit 71170d854e96d
930fb9
930fb9
commit 71170d854e96d2e7dff338f482cb23dfadbbd702
930fb9
Author: Phil Sutter <phil@nwl.cc>
930fb9
Date:   Thu Aug 16 12:28:00 2018 +0200
930fb9
930fb9
    man: rtacct.8: Fix nstat options
930fb9
930fb9
    Add missing --pretty and --json options, correct --zero to --zeros and
930fb9
    correct the mess around --scan/--interval including broken man page
930fb9
    formatting.
930fb9
930fb9
    Signed-off-by: Phil Sutter <phil@nwl.cc>
930fb9
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
930fb9
---
930fb9
 man/man8/rtacct.8 | 14 +++++++++-----
930fb9
 1 file changed, 9 insertions(+), 5 deletions(-)
930fb9
930fb9
diff --git a/man/man8/rtacct.8 b/man/man8/rtacct.8
930fb9
index 01321e6..ccdbf6c 100644
930fb9
--- a/man/man8/rtacct.8
930fb9
+++ b/man/man8/rtacct.8
930fb9
@@ -4,7 +4,7 @@
930fb9
 nstat, rtacct - network statistics tools.
930fb9
 
930fb9
 .SH SYNOPSIS
930fb9
-Usage: nstat [ -h?vVzrnasd:t: ] [ PATTERN [ PATTERN ] ]
930fb9
+Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]
930fb9
 .br
930fb9
 Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]
930fb9
 
930fb9
@@ -21,7 +21,7 @@ Print help
930fb9
 .B \-V, \-\-version
930fb9
 Print version
930fb9
 .TP
930fb9
-.B \-z, \-\-zero
930fb9
+.B \-z, \-\-zeros
930fb9
 Dump zero counters too. By default they are not shown.
930fb9
 .TP
930fb9
 .B \-r, \-\-reset
930fb9
@@ -39,12 +39,16 @@ Do not update history, so that the next time you will see counters including val
930fb9
 .B \-j, \-\-json
930fb9
 Display results in JSON format.
930fb9
 .TP
930fb9
-.B \-d, \-\-interval <INTERVAL>
930fb9
+.B \-p, \-\-pretty
930fb9
+When combined with
930fb9
+.BR \-\-json ,
930fb9
+pretty print the output.
930fb9
+.TP
930fb9
+.B \-d, \-\-scan <INTERVAL>
930fb9
 Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
930fb9
 .TP
930fb9
-
930fb9
+.B \-t, \-\-interval <INTERVAL>
930fb9
 Time interval to average rates. Default value is 60 seconds.
930fb9
-.TP
930fb9
 
930fb9
 .SH SEE ALSO
930fb9
 lnstat(8)
930fb9
-- 
930fb9
1.8.3.1
930fb9