summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/date/date.114
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 11b5a935b98..9e0ad6a8d5d 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.27 2000/11/08 19:53:46 aaron Exp $
+.\" $OpenBSD: date.1,v 1.28 2000/11/09 22:28:27 aaron Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -50,7 +50,15 @@
.Op Fl t Ar minutes_west
.Op Fl nu
.Op Cm + Ns Ar format
-.Op [[[[[cc]yy]mm]dd]HH]MM[\&.SS]
+.Sm off
+.Oo Oo Oo Oo Oo Oo
+.Ar cc Oc
+.Ar yy Oc
+.Ar mm Oc
+.Ar dd Oc
+.Ar HH Oc
+.Ar MM Op Ar \&.SS Oc
+.Sm on
.Sh DESCRIPTION
When invoked without arguments, the
.Nm
@@ -113,7 +121,7 @@ character is always output after the characters specified by
the format string.
The format string for the default display is:
.Bd -literal -offset indent
-.Dq %a %b %e %H:%M:%S %Z %Y
+%a %b %e %H:%M:%S %Z %Y
.Ed
.Pp
If an operand does not have a leading plus sign, it is interpreted as