aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-12-19 10:20:22 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-12-19 10:20:22 +0000
commit501de9c0c1a4f78cd4f5986eea809554f8490d66 (patch)
treeeec7ff302c576a7a4df1e85ea760161384747860
parentf37f378d35710da29463f0346deafe6eeb7648ea (diff)
downloadsrc-501de9c0c1a4f78cd4f5986eea809554f8490d66.tar.gz
src-501de9c0c1a4f78cd4f5986eea809554f8490d66.zip
fail(9): Fix a few mandoc related issues
- function name without markup: return() - function name without markup: print() MFC after: 1 week
Notes
Notes: svn path=/head/; revision=368795
-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 e093164edaca..d7447b1cd35d 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