summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-09 22:28:28 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-09 22:28:28 +0000
commitc404a7dcdc111da72b6bd62a23081b9a4c9d3ee2 (patch)
tree269a3cfdb869772b8d46ba4e5e5fa85fa61b8077 /bin
parent53057755417077361fe9d1811152aff8201edbac (diff)
- Don't use general text domain macros in literal block displays.
- Beautify the SYNOPSIS; somewhat inspired by a similar change in NetBSD.
Diffstat (limited to 'bin')
-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