summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-16 09:42:46 +0200
committerGitHub <noreply@github.com>2024-04-16 09:42:46 +0200
commit30d10a08be965ffd112f2bf48cb9b164436d326d (patch)
tree6fe2fd62f74186ccbb21d3784856459d22b36426 /man
parentNEWS: a few fixes, add systemd-cat --namespace= (diff)
parenttest: add test case for 'networkctl cat' without arguments (diff)
downloadsystemd-30d10a08be965ffd112f2bf48cb9b164436d326d.tar.xz
systemd-30d10a08be965ffd112f2bf48cb9b164436d326d.zip
Merge pull request #32297 from yuwata/networkctl-cat-without-args
networkctl: allow to call 'networkctl cat' without arguments
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>