[patch iproute2] man: add -json option to tc manpage

Subsystems: the rest

STALE3214d

2 messages, 2 authors, 2017-11-28 · open the first message on its own page

[patch iproute2] man: add -json option to tc manpage

From: Jiri Pirko <jiri@resnulli.us>
Date: 2017-11-27 08:09:10

From: Jiri Pirko <redacted>

Signed-off-by: Jiri Pirko <redacted>
---
 man/man8/tc.8 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/man/man8/tc.8 b/man/man8/tc.8
index 263dc75..ff071b3 100644
--- a/man/man8/tc.8
+++ b/man/man8/tc.8
@@ -74,7 +74,8 @@ tc \- show / manipulate traffic control settings
 \fB\-r\fR[\fIaw\fR] |
 \fB\-p\fR[\fIretty\fR] |
 \fB\-i\fR[\fIec\fR] |
-\fB\-g\fR[\fIraph\fR] }
+\fB\-g\fR[\fIraph\fR] |
+\fB\-j\fR[\fIjson\fR] }
 
 .SH DESCRIPTION
 .B Tc
@@ -662,6 +663,10 @@ option was specified. Classes can be filtered only by
 option.
 
 .TP
+.BR "\-j", " \-json"
+Display results in JSON format.
+
+.TP
 .BR "\-nm" , " \-name"
 resolve class name from
 .B /etc/iproute2/tc_cls
-- 
2.9.5

Re: [patch iproute2] man: add -json option to tc manpage

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-11-28 17:53:27

On Mon, 27 Nov 2017 09:09:04 +0100
Jiri Pirko [off-list ref] wrote:
From: Jiri Pirko <redacted>

Signed-off-by: Jiri Pirko <redacted>
Applied. Thanks Jiri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help