Tue Sep 25 14:16:27 2012 UTC ()
Sort -h option properly (not between -I and -i)

XXX Should the date be updated?


(pgoyette)
diff -r1.62 -r1.63 src/usr.bin/netstat/netstat.1

cvs diff -r1.62 -r1.63 src/usr.bin/netstat/netstat.1 (expand / switch to unified diff)

--- src/usr.bin/netstat/netstat.1 2011/11/11 15:09:33 1.62
+++ src/usr.bin/netstat/netstat.1 2012/09/25 14:16:27 1.63
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: netstat.1,v 1.62 2011/11/11 15:09:33 gdt Exp $ 1.\" $NetBSD: netstat.1,v 1.63 2012/09/25 14:16:27 pgoyette Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1990, 1992, 1993 3.\" Copyright (c) 1983, 1990, 1992, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors 14.\" 3. Neither the name of the University nor the names of its contributors
@@ -156,52 +156,52 @@ for @@ -156,52 +156,52 @@ for
156.Dv AF_MPLS ; 156.Dv AF_MPLS ;
157and 157and
158.Ar local 158.Ar local
159or 159or
160.Ar unix , 160.Ar unix ,
161for 161for
162.Dv AF_LOCAL . 162.Dv AF_LOCAL .
163.It Fl g 163.It Fl g
164Show information related to multicast (group address) routing. 164Show information related to multicast (group address) routing.
165By default, show the IP Multicast virtual-interface and routing tables. 165By default, show the IP Multicast virtual-interface and routing tables.
166If the 166If the
167.Fl s 167.Fl s
168option is also present, show multicast routing statistics. 168option is also present, show multicast routing statistics.
 169.It Fl h
 170When used with
 171.Fl b
 172in combination with either
 173.Fl i
 174or
 175.Fl I ,
 176output "human-readable" byte counts.
169.It Fl I Ar interface 177.It Fl I Ar interface
170Show information about the specified interface; 178Show information about the specified interface;
171used with a 179used with a
172.Ar wait 180.Ar wait
173interval as described below. 181interval as described below.
174If the 182If the
175.Fl f Ar address_family 183.Fl f Ar address_family
176option (with the 184option (with the
177.Fl s 185.Fl s
178option) or the 186option) or the
179.Fl p Ar protocol 187.Fl p Ar protocol
180option is present, show per-interface statistics on the 188option is present, show per-interface statistics on the
181.Ar interface 189.Ar interface
182for the specified 190for the specified
183.Ar address_family 191.Ar address_family
184or 192or
185.Ar protocol , 193.Ar protocol ,
186respectively. 194respectively.
187.It Fl h 
188When used with 
189.Fl b 
190in combination with either 
191.Fl i 
192or 
193.Fl I , 
194output "human-readable" byte counts. 
195.It Fl i 195.It Fl i
196Show the state of interfaces which have been auto-configured 196Show the state of interfaces which have been auto-configured
197(interfaces statically configured into a system, but not 197(interfaces statically configured into a system, but not
198located at boot time are not shown). 198located at boot time are not shown).
199If the 199If the
200.Fl a 200.Fl a
201options is also present, multicast addresses currently in use are shown 201options is also present, multicast addresses currently in use are shown
202for each Ethernet interface and for each IP interface address. 202for each Ethernet interface and for each IP interface address.
203Multicast addresses are shown on separate lines following the interface 203Multicast addresses are shown on separate lines following the interface
204address with which they are associated. 204address with which they are associated.
205If the 205If the
206.Fl f Ar address_family 206.Fl f Ar address_family
207option (with the 207option (with the