Subject: misc/3820: bugs in dnsquery.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msaitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 07/01/1997 13:58:02
>Number:         3820
>Category:       misc
>Synopsis:       bugs in dnsquery.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul  1 07:05:01 1997
>Last-Modified:
>Originator:     SAITOH Masanobu
>Organization:
>Release:        latest -current
>Environment:
System: NetBSD ifree.spa.is.uec.ac.jp 1.2G NetBSD 1.2G (IFREE) #49: Fri Jun 27 02:25:25 JST 1997 msaitoh@ifree.spa.is.uec.ac.jp:/var/sources/src/sys/arch/i386/compile/IFREE i386


>Description:
	The dnsquery.1 manpage has two bugs. Try "man dnsquery":

 > SYNOPSIS
 >        dnsquery  [-n  nameserver] [-t type] [-c class] [-r retry]
 >        [-p retry period] [-d] [-s] [-v] host

 The -p option has only one argument.

 >        -p        Period to wait  before  timing  out.   (default:
 >                  RES_TIMEOUT)   options  field.   (default:   any
 >                  answer)

Is this a "cut and paste" bug?


>How-To-Repeat:
	man dnsquery.1
>Fix:
	The former bug can fix following patch:

--- dnsquery.1.orig	Sun Apr 13 20:27:30 1997
+++ dnsquery.1	Tue Jul  1 22:49:31 1997
@@ -15,7 +15,7 @@
 [-r 
 .I retry] 
 [-p 
-.I retry period] 
+.I period] 
 [-d] [-s] [-v] host
 .SH DESCRIPTION
 The

>Audit-Trail:
>Unformatted: