aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-01-16 22:22:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-01-16 22:22:28 +0000
commit06d7435baf3cb0653ecfbdea7a52adba7c0445fd (patch)
treec805378030637a31bc514c9fab168dcd26597fe1
parentc47a0d494c881078635f92b433d3e592e55ce811 (diff)
downloadsrc-06d7435baf3cb0653ecfbdea7a52adba7c0445fd.tar.gz
src-06d7435baf3cb0653ecfbdea7a52adba7c0445fd.zip
Added the EXIT STATUS section.
Notes
Notes: svn path=/head/; revision=140363
-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 76fcb574cca9..a578502fafbf 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.