From: Jiri Pirko Subject: [patch iproute2] man: add -json option to tc manpage Date: Mon, 27 Nov 2017 09:09:04 +0100 Message-ID: <20171127080904.1531-1-jiri@resnulli.us> Cc: stephen@networkplumber.org, jhs@mojatatu.com, mlxsw@mellanox.com To: netdev@vger.kernel.org Return-path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:39719 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbdK0IJK (ORCPT ); Mon, 27 Nov 2017 03:09:10 -0500 Received: by mail-wm0-f67.google.com with SMTP id x63so32718949wmf.4 for ; Mon, 27 Nov 2017 00:09:09 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: From: Jiri Pirko Signed-off-by: Jiri Pirko --- 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