diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-29 03:09:30 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-29 03:09:30 +0000 |
commit | abe84f0b91d2f4e467c78f6a1c736bf39b56a276 (patch) | |
tree | ab1783877679bc19f91f3da2858f1502f6d137d9 /usr.bin/netstat/netstat.1 | |
parent | 54425a9faac7fbdbf777605404a9a8e35359eb1d (diff) |
Allow selecting both address family and protocol by passing the address family
directly to the appropriate print functions.
Found by jdixon@, tested jdixon@ and weerd@, ok krw@ deraadt@
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r-- | usr.bin/netstat/netstat.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index b3fce1456af..37086a5d23b 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstat.1,v 1.58 2010/01/03 14:31:01 schwarze Exp $ +.\" $OpenBSD: netstat.1,v 1.59 2010/06/29 03:09:29 blambert Exp $ .\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $ .\" .\" Copyright (c) 1983, 1990, 1992, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)netstat.1 8.8 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: January 3 2010 $ +.Dd $Mdocdate: June 29 2010 $ .Dt NETSTAT 1 .Os .Sh NAME @@ -40,12 +40,14 @@ .Nm netstat .Op Fl Aan .Op Fl f Ar address_family +.Op Fl p Ar protocol .Op Fl M Ar core .Op Fl N Ar system .Nm netstat .Bk -words .Op Fl bdFgilmnqrstu .Op Fl f Ar address_family +.Op Fl p Ar protocol .Op Fl M Ar core .Op Fl N Ar system .Op Fl T Ar tableid @@ -69,6 +71,7 @@ .Nm netstat .Op Fl a .Op Fl f Ar address_family +.Op Fl p Ar protocol .Op Fl i | I Ar interface .Nm netstat .Op Fl W Ar interface |