Document the "errorname" tag.

PR:		31776
Submitted by:	Michael Lucas <mwlucas@blackhelicopters.org>
This commit is contained in:
Bruce A. Mah 2001-11-13 08:14:49 +00:00
parent 2ef678d4ab
commit edf26dccd4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11190

View file

@ -2165,6 +2165,31 @@ This is the file called 'foo2'</screen>
value for <replaceable>n</replaceable>.</para>
</example>
</sect3>
<sect3>
<title>Quoting system errors</title>
<para>You might want to show errors generated by FreeBSD.
Mark these with <sgmltag>errorname</sgmltag>. This
indicates the exact error that appears.</para>
<example>
<title><sgmltag>errorname</sgmltag></title>
<para>Use:</para>
<programlisting><![ CDATA [
<screen><errorname>Panic: cannot mount root</errorname></screen> ]]>
</programlisting>
<para>Appearance:</para>
<informalexample>
<screen><errorname>Panic: cannot mount root</errorname></screen>
</informalexample>
</example>
</sect3>
</sect2>
<sect2>