Document the "errorname" tag.
PR: 31776 Submitted by: Michael Lucas <mwlucas@blackhelicopters.org>
This commit is contained in:
parent
2ef678d4ab
commit
edf26dccd4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11190
1 changed files with 25 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue