Subject: bin/19399: tcpdump(8) man page polishing
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jthyttin@lce.hut.fi>
List: netbsd-bugs
Date: 12/15/2002 15:51:12
>Number:         19399
>Category:       bin
>Synopsis:       tcpdump(8) man page polishing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 15 15:52:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Juha Hyttinen
>Release:        -current
>Organization:
Laboratory of Computational Engineering
>Environment:
NetBSD scorpion.tky.hut.fi 1.6K NetBSD 1.6K (SCORPION) #3: Sun Nov 24 16:02:10 EET 2002     jthyttin@scorpion.tky.hut.fi:/cvs/src/sys/arch/i386/compile/SCORPION i386

>Description:
In the tcpdump(8) man page, sections OPTIONS, first option (-A) and second option (-a) are not separated by ".TP".
This means, that second option (-a) does not start from a new line, but directly after first option (-A).
The problem is present in -current (http://netbsd.gw.com/cgi-bin/man-cgi?tcpdump++NetBSD-current).
>How-To-Repeat:
"man 8 tcpdump", search for "-a" twice.
>Fix:
Here's the diff, I'm not too familiar with diffs, but I have tested it works by:

#man 8 tcpdump                   #[the problem is present]
#cd /
#patch -p0 < tcpdump.diff
#cd /usr/src/usr.sbin/tcpdump
#make && make install
#man 8 tcpdump                   #[the problem is gone]

--- /usr/src/dist/tcpdump/tcpdump.8     Sun Oct  6 11:28:39 2002
+++ tcpdump.8   Mon Dec 16 01:37:49 2002
@@ -152,6 +152,7 @@
 .B \-A
 Print each packet (minus its link level header) in ASCII.  Handy for
 capturing web pages.
+.TP
 .B \-a
 Attempt to convert network and broadcast addresses to names.
 .TP

>Release-Note:
>Audit-Trail:
>Unformatted: