summaryrefslogtreecommitdiffstats
path: root/share/examples/mdoc
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/mdoc')
-rw-r--r--share/examples/mdoc/example.15
1 files changed, 3 insertions, 2 deletions
diff --git a/share/examples/mdoc/example.1 b/share/examples/mdoc/example.1
index 76fcb57..a578502 100644
--- a/share/examples/mdoc/example.1
+++ b/share/examples/mdoc/example.1
@@ -80,6 +80,8 @@ Example of a file in the
.Sx FILES
section.
.El
+.Sh EXIT STATUS
+.Ex -std
.Sh EXAMPLES
The following is an example of a typical usage
of the
@@ -88,8 +90,7 @@ command:
.Pp
.Dl "example -abc -d xyzzy /dev/null"
.Sh DIAGNOSTICS
-Exit status is 0 on success, and 1 if the command
-fails for one of the following reasons:
+The command may fail for one of the following reasons:
.Bl -diag
.It "example error message"
An example of an error message.
OpenPOWER on IntegriCloud