summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-16 06:29:23 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-16 06:31:14 +0200
commit78281bd53a75c89b23ad001e52d7d23be72c4850 (patch)
tree27b574eb9bc0a1d9196b37836b7b6ffa88001b82 /man
parentman: add missing drop-in directory (diff)
downloadsystemd-78281bd53a75c89b23ad001e52d7d23be72c4850.tar.xz
systemd-78281bd53a75c89b23ad001e52d7d23be72c4850.zip
networkctl: allow to call 'networkctl cat' without arguments
Then, show networkd.conf and its drop-ins.
Diffstat (limited to 'man')
-rw-r--r--man/networkctl.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index 562ca3c6a7..5e2126ff21 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -454,12 +454,16 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
<varlistentry>
<term>
<command>cat</command>
- <replaceable>FILE</replaceable>|<replaceable>@DEVICE</replaceable>…
+ <optional><replaceable>FILE</replaceable>|<replaceable>@DEVICE</replaceable>…</optional>
</term>
- <listitem><para>Show network configuration files. This command honors
- the <literal>@</literal> prefix in the same way as <command>edit</command>.</para>
+ <listitem>
+ <para>Show network configuration files. This command honors the <literal>@</literal> prefix in the
+ same way as <command>edit</command>. When no argument is specified,
+ <citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ and its drop-in files will be shown.</para>
- <xi:include href="version-info.xml" xpointer="v254"/></listitem>
+ <xi:include href="version-info.xml" xpointer="v254"/>
+ </listitem>
</varlistentry>
<varlistentry>