summaryrefslogtreecommitdiff
path: root/bin/date/date.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-07-22 08:09:30 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-07-22 08:09:30 +0000
commit9ab4503e603a14b3bbedeee2344b199a5759dd67 (patch)
tree3f15c1830a694ee064fdab7193968bf5e80ebef1 /bin/date/date.1
parentd7efea8eee9d83061d65d1088c861a84271a595d (diff)
move exit returns blurb out of DIAGNOSTICS; from daniel dickman
Diffstat (limited to 'bin/date/date.1')
-rw-r--r--bin/date/date.112
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 1a37515b5cc..5baf54307f6 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.51 2010/04/01 06:23:33 jmc Exp $
+.\" $OpenBSD: date.1,v 1.52 2010/07/22 08:09:29 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: April 1 2010 $
+.Dd $Mdocdate: July 22 2010 $
.Dt DATE 1
.Os
.Sh NAME
@@ -155,6 +155,11 @@ 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
@@ -196,9 +201,6 @@ without modifying the date:
.Pp
.Dl # date 1432
.Sh DIAGNOSTICS
-Exit status is 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.
-.Pp
Occasionally, when
.Xr timed 8
synchronizes the time on many hosts, the setting of a new time value may