Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 17:54:34 +0900 (JST)
From:      takamune@avrl.mei.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/18674: ntptime.htm and ntptime.8
Message-ID:  <200005190854.RAA11390@dream.vrl.mei.co.jp>

next in thread | raw e-mail | index | archive | help

>Number:         18674
>Category:       docs
>Synopsis:       ntptime.htm and ntptime.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 19 02:00:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kazu TAKAMUNE
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Matsushita Electric Industrial Co., Ltd.
>Environment:

.\" $FreeBSD: src/usr.sbin/ntp/doc/ntptime.8,v 1.1 2000/01/12 14:41:00 sheldonh Exp $

>Description:

(1) `man 8 ntptime' shows:
     -s status

     -t time_constant
             Specify time constant, an integer in the range 0-4.

    The description on `-s' option is missing.

(2) Then, the `src/contrib/ntp/html/ntptime.htm' which is an original
    HTML document of this manual page is very starange as compared with
    the usage of `ntptime' command.

	o `-h' option shows usage.
	o `-l' option doesn't supported.
	o `-m' option specify max errors.
	o Range of `time_constant' is 0-10.

    I've sent another patch (appended to this pr) to the author,
    and it has already fixed in NTP CVS Repository:
	<http://maccarony.ntp.org/cgi-bin/cvsweb.cgi/ntp/html/ntptime.htm>;

So I hope that we will apply this patch to `ntptime.htm' and `ntptime.8'.

Thanks.

>How-To-Repeat:

man 8 ntptime

>Fix:
Index: src/contrib/ntp/html/ntptime.htm
===================================================================
RCS file: /home/ncvs/src/contrib/ntp/html/ntptime.htm,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ntptime.htm
--- src/contrib/ntp/html/ntptime.htm	1999/12/09 13:01:21	1.1.1.1
+++ src/contrib/ntp/html/ntptime.htm	2000/05/10 12:35:59
@@ -49,19 +49,13 @@
 <TT>-h</TT></DT>
 
 <DD>
-Display times in Unix timeval format. Default is NTP format.</DD>
-
-<DT>
-<TT>-l</TT></DT>
-
-<DD>
-Specify the leap bits as a code from 0 to 3.</DD>
+Display help information.</DD>
 
 <DT>
 <TT>-m <I>max_error</I></TT></DT>
 
 <DD>
-Display help information.</DD>
+Specify max possible errors, in microseconds.</DD>
 
 <DT>
 <TT>-o <I>offset</I></TT></DT>
@@ -85,7 +79,7 @@
 <TT>-t <I>time_constant</I></TT></DT>
 
 <DD>
-Specify time constant, an integer in the range 0-4.</DD>
+Specify time constant, an integer in the range 0-10.</DD>
 </DL>
 
 <HR>
Index: src/usr.sbin/ntp/doc/ntptime.8
===================================================================
RCS file: /home/ncvs/src/usr.sbin/ntp/doc/ntptime.8,v
retrieving revision 1.1
diff -u -r1.1 ntptime.8
--- src/usr.sbin/ntp/doc/ntptime.8	2000/01/12 14:41:00	1.1
+++ src/usr.sbin/ntp/doc/ntptime.8	2000/05/11 01:30:04
@@ -48,19 +48,17 @@
 .It Fl f Ar frequency
 Specify frequency offset, in parts per million.
 .It Fl h
-Display times in Unix timeval format.
-Default is NTP format.
-.It Fl l
-Specify the leap bits as a code from 0 to 3.
-.It Fl m Ar max_error
 Display help information.
+.It Fl m Ar max_error
+Specify max possible errors, in microseconds.
 .It Fl o Ar offset
 Specify clock offset, in microseconds.
 .It Fl r
 Display Unix and NTP times in raw format.
 .It Fl s Ar status
+Specify clock status. Better know what you are doing.
 .It Fl t Ar time_constant
-Specify time constant, an integer in the range 0-4.
+Specify time constant, an integer in the range 0-10.
 .El
 .Sh SEE ALSO
 .Xr ntp_adjtime 2 ,

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005190854.RAA11390>