summaryrefslogtreecommitdiffstats
path: root/man/networkctl.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-02-15 05:46:34 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-02-15 05:47:53 +0100
commitf3eeecf42e1377442cfbbf907d1da64a2a55e8a0 (patch)
tree6ee5a856b8de3ecb187b6f9d5d7bf4f2fedf41a8 /man/networkctl.xml
parentnetworkctl: accept wildcards to specify links (diff)
downloadsystemd-f3eeecf42e1377442cfbbf907d1da64a2a55e8a0.tar.xz
systemd-f3eeecf42e1377442cfbbf907d1da64a2a55e8a0.zip
man: network: replace LINK -> PATTERN
Diffstat (limited to 'man/networkctl.xml')
-rw-r--r--man/networkctl.xml23
1 files changed, 13 insertions, 10 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index 7877755edf..7b419d6f72 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -78,11 +78,13 @@
<varlistentry>
<term>
<command>list</command>
- <optional><replaceable>LINK…</replaceable></optional>
+ <optional><replaceable>PATTERN…</replaceable></optional>
</term>
<listitem>
- <para>Show a list of existing links and their status. If no further arguments are specified shows all links,
+ <para>Show a list of existing links and their status. If one ore more
+ <replaceable>PATTERN</replaceable>s are specified, only links matching one of them are shown.
+ If no further arguments are specified shows all links,
otherwise just the specified links. Produces output similar to:
<programlisting>IDX LINK TYPE OPERATIONAL SETUP
@@ -180,13 +182,13 @@
<varlistentry>
<term>
<command>status</command>
- <optional><replaceable>LINK…</replaceable></optional>
+ <optional><replaceable>PATTERN…</replaceable></optional>
</term>
<listitem>
- <para>Show information about the specified links: type,
- state, kernel module driver, hardware and IP address,
- configured DNS servers, etc.</para>
+ <para>Show information about the specified links: type, state, kernel module driver, hardware and
+ IP address, configured DNS servers, etc. If one ore more <replaceable>PATTERN</replaceable>s are
+ specified, only links matching one of them are shown.</para>
<para>When no links are specified, an overall network status is shown. Also see the option
<option>--all</option>.</para>
@@ -208,13 +210,14 @@
<varlistentry>
<term>
<command>lldp</command>
- <optional><replaceable>LINK…</replaceable></optional>
+ <optional><replaceable>PATTERN…</replaceable></optional>
</term>
<listitem>
- <para>Show discovered LLDP (Link Layer Discovery Protocol) neighbors. If one or more link names are specified
- only neighbors on those interfaces are shown. Otherwise shows discovered neighbors on all interfaces. Note
- that for this feature to work, <varname>LLDP=</varname> must be turned on for the specific interface, see
+ <para>Show discovered LLDP (Link Layer Discovery Protocol) neighbors. If one or more
+ <replaceable>PATTERN</replaceable>s are specified only neighbors on those interfaces are shown.
+ Otherwise shows discovered neighbors on all interfaces. Note that for this feature to work,
+ <varname>LLDP=</varname> must be turned on for the specific interface, see
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
details.</para>