diff options
author | niklas <niklas@openbsd.org> | 1996-02-22 00:17:04 +0000 |
---|---|---|
committer | niklas <niklas@openbsd.org> | 1996-02-22 00:17:04 +0000 |
commit | e9767fccd81475b2ea45075bc6604f436fad3240 (patch) | |
tree | af13c65989e0b0c2e09184eff52b00f0542f0dae /usr.sbin/rdate/rdate.8 | |
parent | From NetBSD: (diff) | |
download | wireguard-openbsd-e9767fccd81475b2ea45075bc6604f436fad3240.tar.xz wireguard-openbsd-e9767fccd81475b2ea45075bc6604f436fad3240.zip |
From NetBSD:
fix pr/1226 from David Gluss: allow rdate to use adjtime(2)
Diffstat (limited to 'usr.sbin/rdate/rdate.8')
-rw-r--r-- | usr.sbin/rdate/rdate.8 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/rdate/rdate.8 b/usr.sbin/rdate/rdate.8 index 51035d91e50..c3f352c5282 100644 --- a/usr.sbin/rdate/rdate.8 +++ b/usr.sbin/rdate/rdate.8 @@ -27,7 +27,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: rdate.8,v 1.1.1.1 1995/10/18 08:48:04 deraadt Exp $ +.\" $Id: rdate.8,v 1.2 1996/02/22 00:17:04 niklas Exp $ .\" .Dd April 30, 1994 .Dt RDATE 8 @@ -37,14 +37,14 @@ .Nd set the system's date from a remote host .Sh SYNOPSIS .Nm rdate -.Op Fl ps +.Op Fl psa .Ar host .Sh DESCRIPTION .Nm Rdate displays and sets the local date and time from the host name or address given as the argument. It uses the RFC868 protocol which is usually implemented as a built-in service of -.Xr inetd(1). +.Xr inetd 1 .Pp Available options: .Pp @@ -53,5 +53,11 @@ Available options: Do not set, just print the remote time .It Fl s Do not print the time. +.It Fl a +Use the +.Xr adjtime 2 +call to gradually skew the local time to the +remote time rather than just hopping. .Sh SEE ALSO .Xr inetd 1 +.Xr adjtime 2 |