Subject: misc/23254: Error in ntpq(8) man page
To: None <>
From: None <>
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
>Originator:     Ossi Herrala
>Release:        1.6ZD
LCFNet Internet Productions
NetBSD 1.6ZD NetBSD 1.6ZD (GENERIC) #0: Sun Oct 19 22:43:31 EEST 2003 i386

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

     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).
Reading the ntpq(8) man page and comparing it to usage line of /usr/sbin/ntpq.
Fixing synopsis to what usage line of /usr/sbin/ntpq says.