summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-09-22 17:55:39 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-09-26 15:35:06 +0200
commit38e3c61dbb1ad69e7df910d07fa8b47f3d97f660 (patch)
tree5e49076cf0a6bef58917cfc4bc92604e5e37f593 /man
parentbtrfs-util: fix one memory leak (diff)
downloadsystemd-38e3c61dbb1ad69e7df910d07fa8b47f3d97f660.tar.xz
systemd-38e3c61dbb1ad69e7df910d07fa8b47f3d97f660.zip
man/cryptenroll: link to crypttab(5) for examples
I was missing an example of how to use cryptenroll. We have that, but in another page. Instead of repeating, let's just direct the user to the right place. Also, reformat synopsis to the "official" non-nested syntax.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-cryptenroll.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/man/systemd-cryptenroll.xml b/man/systemd-cryptenroll.xml
index 27b072cbdb..cd01791acf 100644
--- a/man/systemd-cryptenroll.xml
+++ b/man/systemd-cryptenroll.xml
@@ -22,7 +22,9 @@
<refsynopsisdiv>
<cmdsynopsis>
- <command>systemd-cryptenroll <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="opt">DEVICE</arg></command>
+ <command>systemd-cryptenroll</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="opt">DEVICE</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -546,6 +548,14 @@
</refsect1>
<refsect1>
+ <title>Examples</title>
+
+ <para><citerefentry><refentrytitle>crypttab</refentrytitle><manvolnum>5</manvolnum></citerefentry> and
+ <citerefentry><refentrytitle>systemd-measure</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ contain various examples employing <command>systemd-cryptenroll</command>.</para>
+ </refsect1>
+
+ <refsect1>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,