From dot.bomb@freenet.de  Wed Feb 19 11:16:34 2003
Return-Path: <dot.bomb@freenet.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6E59B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 11:16:34 -0800 (PST)
Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9096943F85
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 11:16:33 -0800 (PST)
	(envelope-from dot.bomb@freenet.de)
Received: from [194.97.50.144] (helo=mx1.freenet.de)
	by mout0.freenet.de with asmtp (Exim 4.12)
	id 18lZhn-0007jw-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Feb 2003 20:16:31 +0100
Received: from b935a.pppool.de ([213.7.147.90] helo=charon.freenet.de)
	by mx1.freenet.de with esmtp (Exim 4.12 #2)
	id 18lZhm-00078C-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Feb 2003 20:16:31 +0100
Received: by charon.freenet.de (Postfix, from userid 1000)
	id F081F105; Wed, 19 Feb 2003 20:21:15 +0000 (GMT)
Message-Id: <20030219202115.F081F105@charon.freenet.de>
Date: Wed, 19 Feb 2003 20:21:15 +0000 (GMT)
From: Peter Philipp <dot.bomb@freenet.de>
Reply-To: Peter Philipp <dot.bomb@freenet.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Document undocumented option -l in netstat.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48466
>Category:       docs
>Synopsis:       Document undocumented option -l in netstat.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keramida
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 11:20:02 PST 2003
>Closed-Date:    Sat May 03 15:11:06 PDT 2003
>Last-Modified:  Sat May 03 15:11:06 PDT 2003
>Originator:     Peter Philipp
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
Free
>Environment:
System: FreeBSD charon 4.6-RELEASE FreeBSD 4.6-RELEASE #1: Sun Feb 9 17:49:46 GMT 2003 pbug@charon:/usr/src/sys/compile/FBSD i386

>Description:
netstat has support for option -l in FreeBSD but does not mention it in the
manpage.  Match documentation with reality.
>How-To-Repeat:
Wondering what the option -l in netstat does.
>Fix:
Patch to netstat.1 follows:

--- /usr/tmp/usr.bin/netstat/netstat.1	Sun Nov 18 16:41:52 2001
+++ netstat.1	Wed Feb 19 17:07:22 2003
@@ -49,7 +49,7 @@
 .It Xo
 .Bk -words
 .Nm
-.Op Fl AaLnSW
+.Op Fl AaLlnSW
 .Op Fl f Ar protocol_family | Fl p Ar protocol
 .Op Fl M Ar core
 .Op Fl N Ar system
@@ -189,7 +189,7 @@
 .Bk -words
 .Nm
 .Fl r
-.Op Fl AanW
+.Op Fl AalnW
 .Op Fl f Ar address_family
 .Op Fl M Ar core
 .Op Fl N Ar system
@@ -233,7 +233,7 @@
 .Bk -words
 .Nm
 .Fl g
-.Op Fl W
+.Op Fl lW
 .Op Fl f Ar address_family
 .Op Fl M Ar core
 .Op Fl N Ar system
@@ -293,6 +293,9 @@
 The program will complain if
 .Ar protocol
 is unknown or if there is no statistics routine for it.
+.It Fl l
+Is synonymous for 
+.Fl W .
 .It Fl M
 Extract values associated with the name list from the specified core
 instead of the default
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: keramida 
State-Changed-When: Tue Mar 25 18:00:45 PST 2003 
State-Changed-Why:  
Committd to current. 


Responsible-Changed-From-To: freebsd-doc->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Tue Mar 25 18:00:45 PST 2003 
Responsible-Changed-Why:  
I'll do the MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48466 
State-Changed-From-To: patched->closed 
State-Changed-By: keramida 
State-Changed-When: Sat May 3 15:10:52 PDT 2003 
State-Changed-Why:  
Merged to RELENG_4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48466 
>Unformatted:
