git: 95c326ca08b6 - stable/12 - MFC r368795: fail(9): Fix a few mandoc related issues

Gordon Bergling gbe at FreeBSD.org
Sun Dec 27 12:45:44 UTC 2020


The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=95c326ca08b6a985bffd46ea709a9cbfed62ca9b

commit 95c326ca08b6a985bffd46ea709a9cbfed62ca9b
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2020-12-19 10:20:22 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2020-12-27 12:42:17 +0000

    MFC r368795: fail(9): Fix a few mandoc related issues
    
    - function name without markup: return()
    - function name without markup: print()
    
    (cherry picked from commit 501de9c0c1a4f78cd4f5986eea809554f8490d66)
---
 share/man/man9/fail.9 | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/share/man/man9/fail.9 b/share/man/man9/fail.9
index cf623650e0c5..06405cc6d63e 100644
--- a/share/man/man9/fail.9
+++ b/share/man/man9/fail.9
@@ -196,9 +196,15 @@ The operator -> can be used to express cascading terms.
 If you specify <term1>-><term2>, it means that if <term1> does not
 .Ql execute ,
 <term2> is evaluated.
-For the purpose of this operator, the return() and print() operators
-are the only types that cascade.
-A return() term only cascades if the code executes, and a print()
+For the purpose of this operator, the
+.Fn return
+and
+.Fn print
+operators are the only types that cascade.
+A
+.Fn return
+term only cascades if the code executes, and a
+.Fn print
 term only cascades when passed a non-zero argument.
 A pid can optionally be specified.
 The fail point term is only executed when invoked by a process with a


More information about the dev-commits-src-all mailing list