summaryrefslogtreecommitdiff
path: root/bin/date
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-09-03 09:53:21 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-09-03 09:53:21 +0000
commit90235b6a389342833e0d0274e26e329442fc5afd (patch)
tree5829da3575e5c09e938690b0b6c65a06fa2c3d11 /bin/date
parentc51fd5b8a2f165a9fbe744c02af75eaa9dcffd59 (diff)
add an EXIT STATUS section for /bin;
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/date.114
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 5baf54307f6..7c5a6c67590 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.52 2010/07/22 08:09:29 jmc Exp $
+.\" $OpenBSD: date.1,v 1.53 2010/09/03 09:53:20 jmc Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: July 22 2010 $
+.Dd $Mdocdate: September 3 2010 $
.Dt DATE 1
.Os
.Sh NAME
@@ -155,11 +155,6 @@ Everything but the minute is optional.
.Pp
Time changes for Daylight Saving Time, standard time, leap seconds,
and leap years are handled automatically.
-.Pp
-The
-.Nm
-utility exits 0 on success, 1 if unable to set the date,
-and 2 if able to set the local date, but unable to set it globally.
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev TZ
@@ -182,6 +177,11 @@ record of date resets and time changes
.It Pa /var/log/messages
record of the user setting the time
.El
+.Sh EXIT STATUS
+The
+.Nm
+utility exits 0 on success, 1 if unable to set the date,
+and 2 if able to set the local date, but unable to set it globally.
.Sh EXAMPLES
Display the date using the specified format string:
.Bd -literal -offset indent