man: use <warning> for warnings

This commit is contained in:
David Tardon
2023-12-23 18:40:15 +01:00
parent f37841c0b7
commit 617b85d10e
6 changed files with 52 additions and 36 deletions
+10 -6
View File
@@ -458,10 +458,12 @@
<citerefentry project='man-pages'><refentrytitle>mkswap</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
This option implies <option>plain</option>.</para>
<para>WARNING: Using the <option>swap</option> option will
destroy the contents of the named partition during every boot,
so make sure the underlying block device is specified
correctly.</para>
<warning>
<para>Using the <option>swap</option> option will
destroy the contents of the named partition during every boot,
so make sure the underlying block device is specified
correctly.</para>
</warning>
<xi:include href="version-info.xml" xpointer="v186"/></listitem>
</varlistentry>
@@ -591,8 +593,10 @@
<literal>btrfs</literal>. If no argument is specified defaults to <literal>ext4</literal>. This
option implies <option>plain</option>.</para>
<para>WARNING: Using the <option>tmp</option> option will destroy the contents of the named partition
during every boot, so make sure the underlying block device is specified correctly.</para>
<warning>
<para>Using the <option>tmp</option> option will destroy the contents of the named partition
during every boot, so make sure the underlying block device is specified correctly.</para>
</warning>
<xi:include href="version-info.xml" xpointer="v186"/></listitem>
</varlistentry>