summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbe <gbe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-12-19 10:20:22 +0000
committergbe <gbe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-12-19 10:20:22 +0000
commit929babab0f7e8e0e96c2bc8d9a87ef3a908bc6ce (patch)
treeeec7ff302c576a7a4df1e85ea760161384747860
parent2f39ca346b3f26d0bb32b05969dfc65bd59a1fff (diff)
downloadfreebsd-929babab0f7e8e0e96c2bc8d9a87ef3a908bc6ce.tar.gz
freebsd-929babab0f7e8e0e96c2bc8d9a87ef3a908bc6ce.tar.bz2
fail(9): Fix a few mandoc related issues
- function name without markup: return() - function name without markup: print() MFC after: 1 week git-svn-id: http://svn.freebsd.org/base/head@368795 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r--share/man/man9/fail.912
1 files changed, 9 insertions, 3 deletions
diff --git a/share/man/man9/fail.9 b/share/man/man9/fail.9
index e093164edac..d7447b1cd35 100644
--- a/share/man/man9/fail.9
+++ b/share/man/man9/fail.9
@@ -218,9 +218,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