NetBSD Problem Report #40627

From www@NetBSD.org  Fri Feb 13 10:24:26 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 4C58763C181
	for <gnats-bugs@gnats.netbsd.org>; Fri, 13 Feb 2009 10:24:26 +0000 (UTC)
Message-Id: <20090213102426.1F80663C17C@narn.NetBSD.org>
Date: Fri, 13 Feb 2009 10:24:26 +0000 (UTC)
From: mdehling@uni-math.gwdg.de
Reply-To: mdehling@uni-math.gwdg.de
To: gnats-bugs@NetBSD.org
Subject: Manpage for netstat has flags not in alphabetical order.
X-Send-Pr-Version: www-1.0

>Number:         40627
>Category:       misc
>Synopsis:       Manpage for netstat has flags not in alphabetical order.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 13 10:25:00 +0000 2009
>Closed-Date:    Sat Feb 14 11:10:41 +0000 2009
>Last-Modified:  Mon Feb 23 08:45:01 +0000 2009
>Originator:     Malte Dehling
>Release:        NetBSD 4/5/HEAD
>Organization:
>Environment:
NetBSD venom.local 4.0_STABLE NetBSD 4.0_STABLE (X31.full) #3: Sat Mar 29 17:59:46 CET 2008  root@venom.local:/usr/obj/sys/arch/i386/compile/X31.full i386
>Description:
The manpage for netstat has all options in alphabetical order, except: -r and -s are in wrong order.
The mistake exists in NetBSD 4, 5 and is still in HEAD. Ofcourse it is also not very important :-)
>How-To-Repeat:
man netstat
>Fix:
apply the following patch (for HEAD) to src/usr.bin/netstat/netstat.1:

# diff -u netstat.1.orig netstat.1

--- netstat.1.orig      2009-02-13 11:01:03.000000000 +0100
+++ netstat.1   2009-02-13 11:02:37.000000000 +0100
@@ -249,14 +249,14 @@
 is unknown or if there is no statistics routine for it.
 .It Fl q
 Show software interrupt queue setting/statistics for all protocols.
-.It Fl s
-Show per-protocol statistics.
-If this option is repeated, counters with a value of zero are suppressed.
 .It Fl r
 Show the routing tables.
 When
 .Fl s
 is also present, show routing statistics instead.
+.It Fl s
+Show per-protocol statistics.
+If this option is repeated, counters with a value of zero are suppressed.
 .It Fl v
 Show extra (verbose) detail for the routing tables
 .Pq Fl r ,

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 14 Feb 2009 11:10:41 +0000
State-Changed-Why:
Fixed in HEAD, and pullup to NetBSD 5 requested.


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40627 CVS commit: src/usr.bin/netstat
Date: Sat, 14 Feb 2009 11:08:17 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Sat Feb 14 11:08:17 UTC 2009

 Modified Files:
 	src/usr.bin/netstat: netstat.1

 Log Message:
 Sort option descriptions, and options in usage.
 Covers PR 40627.


 To generate a diff of this commit:
 cvs rdiff -r1.48 -r1.49 src/usr.bin/netstat/netstat.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40627 CVS commit: [netbsd-5] src/usr.bin/netstat
Date: Mon, 23 Feb 2009 08:43:12 +0000 (UTC)

 Module Name:	src
 Committed By:	snj
 Date:		Mon Feb 23 08:43:12 UTC 2009

 Modified Files:
 	src/usr.bin/netstat [netbsd-5]: netstat.1

 Log Message:
 Pull up following revision(s) (requested by wiz in ticket #462):
 	usr.bin/netstat/netstat.1: revision 1.49
 Sort option descriptions, and options in usage.
 Covers PR 40627.


 To generate a diff of this commit:
 cvs rdiff -r1.48 -r1.48.12.1 src/usr.bin/netstat/netstat.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.