Subject: misc/23254: Error in ntpq(8) man page
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ossi.herrala@iki.fi>
List: netbsd-bugs
Date: 10/23/2003 23:46:39
>Number:         23254
>Category:       misc
>Synopsis:       Error in ntpq(8) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 23 23:47:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ossi Herrala
>Release:        1.6ZD
>Organization:
LCFNet Internet Productions
>Environment:
NetBSD txpo.lcfnet.org 1.6ZD NetBSD 1.6ZD (GENERIC) #0: Sun Oct 19 22:43:31 EEST 2003  oherrala@txpo.lcfnet.org:/usr/obj/u1/NetBSD/current/src/sys/arch/i386/compile/GENERIC i386

>Description:
There is wrong SYNOPSIS in src/usr.sbin/ntp/ntpq/ntpq.8:

SYNOPSIS
     ntpq [-ntpq [-inp]] [-command] [host]]

But /usr/sbin/ntpq says it's usage is:

     usage: /usr/sbin/ntpq [-dinp] [-c cmd] host ...

This problem exists in both NetBSD 1.6.1 and NetBSD-current (sources 2003-10-23).
>How-To-Repeat:
Reading the ntpq(8) man page and comparing it to usage line of /usr/sbin/ntpq.
>Fix:
Fixing synopsis to what usage line of /usr/sbin/ntpq says.
>Release-Note:
>Audit-Trail:
>Unformatted: