summaryrefslogtreecommitdiffstats
path: root/share/examples/mdoc/example.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-16 22:22:28 +0000
committerru <ru@FreeBSD.org>2005-01-16 22:22:28 +0000
commitf4ba20999d296959a407d427a8d4bb83c0aa678e (patch)
treec805378030637a31bc514c9fab168dcd26597fe1 /share/examples/mdoc/example.1
parentc78b57210eccac72647f863add37103f63772aa7 (diff)
downloadFreeBSD-src-f4ba20999d296959a407d427a8d4bb83c0aa678e.zip
FreeBSD-src-f4ba20999d296959a407d427a8d4bb83c0aa678e.tar.gz
Added the EXIT STATUS section.
Diffstat (limited to 'share/examples/mdoc/example.1')
-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