summaryrefslogtreecommitdiff
path: root/usr.bin/dirname
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-01-04 11:19:56 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-01-04 11:19:56 +0000
commitd3f71e83aa457c3da879a748802d457091a47c5f (patch)
tree17c8d21785c3a369ed1c40e82a66c38dc35606cb /usr.bin/dirname
parent826a606e9dd903d3cbcf9474470229ebc91fa4fe (diff)
replace hardcoded exit values with .Ex macros;
ok jmc@
Diffstat (limited to 'usr.bin/dirname')
-rw-r--r--usr.bin/dirname/dirname.19
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/dirname/dirname.1 b/usr.bin/dirname/dirname.1
index 7b41327096a..a5976007393 100644
--- a/usr.bin/dirname/dirname.1
+++ b/usr.bin/dirname/dirname.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dirname.1,v 1.5 2007/05/31 19:20:09 jmc Exp $
+.\" $OpenBSD: dirname.1,v 1.6 2009/01/04 11:19:55 sobrado Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)dirname.1 8.2 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 4 2009 $
.Dt DIRNAME 1
.Os
.Sh NAME
@@ -50,10 +50,7 @@ character to the end of
.Ar pathname ,
and writes the result to the standard output.
.Pp
-The
-.Nm
-utility
-exits 0 on success or >0 if an error occurred.
+.Ex -std dirname
.Sh EXAMPLES
The following line sets the shell variable
.Ev FOO