From nobody@FreeBSD.org  Sun May 13 20:51:45 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6814616A406
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 May 2007 20:51:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 3C74B13C457
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 May 2007 20:51:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4DKpjbX045957
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 May 2007 20:51:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l4DKkiok045249;
	Sun, 13 May 2007 20:46:44 GMT
	(envelope-from nobody)
Message-Id: <200705132046.l4DKkiok045249@www.freebsd.org>
Date: Sun, 13 May 2007 20:46:44 GMT
From: Seth Hieronymus<shieronymus@speakeasy.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Update ntpd(8) manpage to reflect lack of -4 and -6 program options
X-Send-Pr-Version: www-3.0

>Number:         112642
>Category:       docs
>Synopsis:       [patch] Update ntpd(8) manpage to reflect lack of -4 and -6 program options
>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:   Sun May 13 21:00:11 GMT 2007
>Closed-Date:    Tue Jun 12 13:30:40 GMT 2007
>Last-Modified:  Tue Jun 12 13:40:04 GMT 2007
>Originator:     Seth Hieronymus
>Release:        6.2 Stable @ 2007/05/12
>Organization:
>Environment:
FreeBSD hts3 6.2-STABLE FreeBSD 6.2-STABLE #27: Sun May 13 08:52:24 UTC 2007     root@hts3:/usr/obj/usr/src/sys/hts3  i386

>Description:
The manpage for ntpd shows the DNS options: -4 and -6.  However, the binary does not recognize them.  The easy fix (not sure if correct) is to just delete the two option descriptions from the manpage.
>How-To-Repeat:
root@hts3:/etc # ntpd -4

ntpd: unknown option -4
usage: ntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ]
                [ -f freq_file ] [ -k key_file ] [ -l log_file ]
                [ -p pid_file ] [ -r broad_delay ] [ -s statdir ]
                [ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]

>Fix:
--- ntpd.8      Sun May 13 20:32:43 2007
+++ ntpd.8.new  Sun May 13 20:34:41 2007
@@ -9,7 +9,7 @@
 .Nd Network Time Protocol (NTP) daemon
 .Sh SYNOPSIS
 .Nm
-.Op Fl 46aAbDdgLmnPqx
+.Op Fl aAbDdgLmnPqx
 .Op Fl c Ar conffile
 .Op Fl f Ar driftfile
 .Op Fl k Ar keyfile
@@ -91,10 +91,6 @@
 .Pp
 The following options are available:
 .Bl -tag -width indent
-.It Fl 4
-Force DNS resolution of following host names to the IPv4 namespace.
-.It Fl 6
-Force DNS resolution of following host names to the IPv6 namespace.
 .It Fl a
 Require cryptographic authentication for broadcast client,
 multicast client and symmetric passive associations.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: motoyuki 
State-Changed-When: Tue Jun 12 13:29:26 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112642 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/112642: commit references a PR
Date: Tue, 12 Jun 2007 13:29:01 +0000 (UTC)

 motoyuki    2007-06-12 13:28:55 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.sbin/ntp/doc     ntpd.8 
   Log:
   Delete description of non-existent options: "-4" and "-6".
   
   ntpd's "-4" and "-6" options are described in the original documentation
   (contrib/ntp/html/ntpd.html).  It may be original's doc bug.
   
   PR:             docs/112642
   Submitted by:   Seth Hieronymus<shieronymus@speakeasy.net>
   Discussed with: ume
   MFC after:      1 week
   
   Revision  Changes    Path
   1.15      +1 -5      src/usr.sbin/ntp/doc/ntpd.8
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
