diff mbox series

[ethtool,v4,6/6] ethtool.8.in: Add --json option

Message ID 20200701010743.730606-7-andrew@lunn.ch
State Superseded
Delegated to: Michal Kubecek
Headers show
Series ethtool(1) cable test support | expand

Commit Message

Andrew Lunn July 1, 2020, 1:07 a.m. UTC
Document the --json option, which the --cable-test and
--cable-test-tdr options support.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
 ethtool.8.in | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series


diff --git a/ethtool.8.in b/ethtool.8.in
index 60ca37c..689822e 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -137,6 +137,9 @@  ethtool \- query or control network driver and hardware settings
 .BN --debug
 .I args
+.B ethtool [--json]
+.I args
 .B ethtool \-\-monitor
 .I command
@@ -476,6 +479,11 @@  lB	l.
 0x01  Parser information
+.BI \-\-json
+Output results in JavaScript Object Notation (JSON). Only a subset of
+options support this. Those which do not will continue to output
+plain text in the presence of this option.
 .B \-a \-\-show\-pause
 Queries the specified Ethernet device for pause parameter information.