summaryrefslogtreecommitdiff
path: root/bin/date/date.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-01-08 00:19:56 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-01-08 00:19:56 +0000
commit40d9b41cd75c7206238f25b3dd0e5230b1148958 (patch)
tree856a9fdcc2c85f51a770909f5db912f8cb891f33 /bin/date/date.1
parent5ad41f426dc9b7d26f3521398b0e29a313873ded (diff)
make the description of the first example a little more informative;
Diffstat (limited to 'bin/date/date.1')
-rw-r--r--bin/date/date.19
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 66759826694..3ffca0eb8d5 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.44 2005/11/30 11:18:27 jmc Exp $
+.\" $OpenBSD: date.1,v 1.45 2006/01/08 00:19:55 jmc Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -176,12 +176,9 @@ record of date resets and time changes
record of the user setting the time
.El
.Sh EXAMPLES
-The following command:
-.Pp
-.Dl $ date \&"+DATE: %Y-%m-%d%nTIME: %H:%M:%S\&"
-.Pp
-displays:
+Display the date using the specified format string:
.Bd -literal -offset indent
+$ date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S"
DATE: 1987-11-21
TIME: 13:36:16
.Ed