summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rdate/rdate.8
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2004-02-18 20:10:53 +0000
committerjmc <jmc@openbsd.org>2004-02-18 20:10:53 +0000
commit293ae9598033e989487eb01d201cfd232797e1c9 (patch)
treee0ffb19170c332431b081477b857a921ae4b2626 /usr.sbin/rdate/rdate.8
parentdocument rot13; (diff)
downloadwireguard-openbsd-293ae9598033e989487eb01d201cfd232797e1c9.tar.xz
wireguard-openbsd-293ae9598033e989487eb01d201cfd232797e1c9.zip
sort options and SYNOPSIS;
sync usage();
Diffstat (limited to 'usr.sbin/rdate/rdate.8')
-rw-r--r--usr.sbin/rdate/rdate.818
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/rdate/rdate.8 b/usr.sbin/rdate/rdate.8
index 194d0d0e4f0..0b048e02e99 100644
--- a/usr.sbin/rdate/rdate.8
+++ b/usr.sbin/rdate/rdate.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rdate.8,v 1.25 2004/02/16 21:25:41 jakob Exp $
+.\" $OpenBSD: rdate.8,v 1.26 2004/02/18 20:10:53 jmc Exp $
.\" $NetBSD: rdate.8,v 1.4 1996/04/08 20:55:17 jtc Exp $
.\"
.\" Copyright (c) 1994 Christos Zoulas
@@ -37,7 +37,7 @@
.Nd set the system's date from a remote host
.Sh SYNOPSIS
.Nm rdate
-.Op Fl 46ncpsav
+.Op Fl 46acnpsv
.Ar host
.Sh DESCRIPTION
.Nm
@@ -61,8 +61,11 @@ to use IPv4 addresses only.
Forces
.Nm
to use IPv6 addresses only.
-.It Fl n
-Use SNTP (RFC 1361) instead of the RFC 868 time protocol.
+.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 c
Correct leap seconds.
Sometimes required when synchronizing to an NTP server.
@@ -71,15 +74,12 @@ server does not correctly account for leap seconds.
You can determine if you need this parameter if you sync against an NTP
server (with this parameter) or (recommended) check with a local radio
controlled watch or phone service.
+.It Fl n
+Use SNTP (RFC 1361) instead of the RFC 868 time protocol.
.It Fl p
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.
.It Fl v
Verbose output.
Always show the adjustment.