diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-01-05 05:04:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-01-05 05:04:07 +0000 |
commit | f9c01c05b2caa70f0fa57bc1ad37c1ef2be0f7b3 (patch) | |
tree | beaf9afa4d25eb44a61dc28d9d8619ebbdecfa7c /bin | |
parent | 22cda0e559ef7e23d92661aee4e5b19aaaa90f04 (diff) |
date(1) can only exit(0) or exit(1), not exit(2), so make this .Ex -std;
obviouly, this was forgotten in rev. 1.57 when removing timed(8) support.
ok jmc@ sobrado@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/date/date.1 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1 index 47756525862..10eec1f1cb2 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: date.1,v 1.60 2014/01/03 15:52:04 jmc Exp $ +.\" $OpenBSD: date.1,v 1.61 2014/01/05 05:04:06 schwarze 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: January 3 2014 $ +.Dd $Mdocdate: January 5 2014 $ .Dt DATE 1 .Os .Sh NAME @@ -185,10 +185,7 @@ record of date resets and time changes 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. +.Ex -std .Sh EXAMPLES Display the date using the specified format string: .Bd -literal -offset indent |