From takamune@mariners.mei.co.jp  Fri May 19 01:54:40 2000
Return-Path: <takamune@mariners.mei.co.jp>
Received: from bulls.mei.co.jp (bulls.mei.co.jp [202.224.189.102])
	by hub.freebsd.org (Postfix) with ESMTP id 3D2E637BA27
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 May 2000 01:54:37 -0700 (PDT)
	(envelope-from takamune@mariners.mei.co.jp)
Received: by bulls.mei.co.jp (8.9.3/3.7W) with ESMTP id RAA07451
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 May 2000 17:54:35 +0900 (JST)
Received: by mariners.mei.co.jp (8.9.1/3.7W) with ESMTP id RAA06722
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 May 2000 17:54:35 +0900 (JST)
Received: by dream.vrl.mei.co.jp (8.9.3/3.7W-11/29/99)
	id RAA11390; Fri, 19 May 2000 17:54:34 +0900 (JST)
Message-Id: <200005190854.RAA11390@dream.vrl.mei.co.jp>
Date: Fri, 19 May 2000 17:54:34 +0900 (JST)
From: takamune@avrl.mei.co.jp
Sender: takamune@mariners.mei.co.jp
Reply-To: takamune@avrl.mei.co.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: ntptime.htm and ntptime.8
X-Send-Pr-Version: 3.2

>Number:         18674
>Category:       docs
>Synopsis:       ntptime.htm and ntptime.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 19 02:00:02 PDT 2000
>Closed-Date:    Sun Apr 8 11:57:06 PDT 2001
>Last-Modified:  Sun Apr 08 11:57:52 PDT 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sun Apr 8 11:57:06 PDT 2001 
State-Changed-Why:  
As you mentioned, the ntp stuff is externally maintained.  FreeBSD 
will pick up your changes with the next update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18674 
>Unformatted:
