diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2012-08-22 06:08:08 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2012-08-22 06:08:08 +0000 |
commit | ae04f4aaaa1ab3ef8249c677bfa40966d89196f6 (patch) | |
tree | 0e5de9cfba3bade88ab496e6577d78c0287bfa86 /usr.bin | |
parent | c50f1dcc751b28380e3c4e7b088c574e864c4a34 (diff) |
i missed usage and the manpage. prod by jmc
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/main.c | 4 | ||||
-rw-r--r-- | usr.bin/netstat/netstat.1 | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 9037b1b3206..b861fb702f6 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.93 2012/08/22 00:11:57 tedu Exp $ */ +/* $OpenBSD: main.c,v 1.94 2012/08/22 06:08:07 tedu Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -531,7 +531,7 @@ usage(void) "usage: %s [-AaBn] [-f address_family] [-M core] [-N system]\n" " %s [-bdFgilmnqrstu] [-f address_family] [-M core] [-N system]\n" " [-T tableid]\n" - " %s [-bdn] [-c count] [-I interface] [-M core] [-N system] [-w wait]\n" + " %s [-bdhn] [-c count] [-I interface] [-M core] [-N system] [-w wait]\n" " %s [-v] [-M core] [-N system] -P pcbaddr\n" " %s [-s] [-M core] [-N system] [-p protocol]\n" " %s [-a] [-f address_family] [-i | -I interface]\n" diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index d6d227ae9e5..63510e7665a 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstat.1,v 1.67 2011/11/01 17:30:04 mikeb Exp $ +.\" $OpenBSD: netstat.1,v 1.68 2012/08/22 06:08:07 tedu 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: November 1 2011 $ +.Dd $Mdocdate: August 22 2012 $ .Dt NETSTAT 1 .Os .Sh NAME @@ -53,7 +53,7 @@ .Op Fl T Ar tableid .Ek .Nm netstat -.Op Fl bdn +.Op Fl bdhn .Op Fl c Ar count .Op Fl I Ar interface .Op Fl M Ar core @@ -165,6 +165,12 @@ The following address families are recognized: .It "unix" Ta Dv "AF_UNIX" Ta "Local to Host (i.e., pipes)" .El .Pp +.It Fl h +Use unit suffixes to reduce the number of digits shown with the +.Fl b +and +.Fl w +options. .It Fl g Show information related to multicast (group address) routing. By default, show the IP multicast virtual-interface and routing tables. |