summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-12 17:22:14 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-14 02:18:29 +0200
commitbfc2b05e59495db8a1d14b4260a91a97ea3343f8 (patch)
tree64b8702bdf69ab03673bb022e99ce28ea2a639d0 /man
parentjson: make JSON_VARIANT_ARRAY/OBJECT_FOREACH() nestable (diff)
downloadsystemd-bfc2b05e59495db8a1d14b4260a91a97ea3343f8.tar.xz
systemd-bfc2b05e59495db8a1d14b4260a91a97ea3343f8.zip
networkctl: introduce --json option for "status" and "list" commands
When `--json` option is specified, "status" and "list" commands gives the same information, as originally "list" just gives partial information of "status" in different format.
Diffstat (limited to 'man')
-rw-r--r--man/networkctl.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index ee204a60c5..19095164ce 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -367,6 +367,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
</listitem>
</varlistentry>
+ <xi:include href="standard-options.xml" xpointer="json" />
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
<xi:include href="standard-options.xml" xpointer="no-legend" />