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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-09-22 17:55:39 +02:00
parent e504e46515
commit 38e3c61dbb

View file

@ -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>
@ -545,6 +547,14 @@
<para>On success, 0 is returned, a non-zero failure code otherwise.</para>
</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>