summaryrefslogtreecommitdiff
path: root/bin/date/date.1
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-02 02:02:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-02 02:02:26 +0000
commit5827c88596da439109b473bf46af8fde94a5c55a (patch)
tree209cdba2f56a8c3179a77de79436de581c58ee9c /bin/date/date.1
parentc1654cb0181dc613499e0421e46ace08cb71d9d6 (diff)
add -a to use adjtime(), like rdate(1) does
Diffstat (limited to 'bin/date/date.1')
-rw-r--r--bin/date/date.19
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 56a3908313f..ff8f976345b 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.31 2001/06/23 05:57:02 deraadt Exp $
+.\" $OpenBSD: date.1,v 1.32 2001/12/02 02:02:25 deraadt Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -48,7 +48,7 @@
.Op Fl d Ar dst
.Op Fl r Ar seconds
.Op Fl t Ar minutes_west
-.Op Fl nu
+.Op Fl anu
.Op Cm + Ns Ar format
.Sm off
.Oo Oo Oo Oo Oo Oo
@@ -71,6 +71,11 @@ Only the superuser may set the date.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl a
+Use the
+.Xr adjtime 2
+call to gradually skew the local time to the
+remote time rather than just hopping.
.It Fl d Ar dst
Set the system's value for Daylight Saving Time.
If