summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2004-10-20 11:18:31 +0000
committermaxim <maxim@FreeBSD.org>2004-10-20 11:18:31 +0000
commit62754bb686a7499570209037761399827442224d (patch)
tree7d2d3b1c275c5eaf300d5b3ace031d344bf659df /usr.bin/netstat
parent5fe3f69282d4aef53b56e3f6d88ca10e7dca9590 (diff)
downloadFreeBSD-src-62754bb686a7499570209037761399827442224d.zip
FreeBSD-src-62754bb686a7499570209037761399827442224d.tar.gz
-c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) and
usage() accordingly. Submitted by: Pawel Worach
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 1474ba3..13d52d6 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -287,7 +287,7 @@ main(int argc, char *argv[])
af = AF_UNSPEC;
- while ((ch = getopt(argc, argv, "Aabcdf:gI:iLlM:mN:np:rSstuWw:z")) != -1)
+ while ((ch = getopt(argc, argv, "Aabdf:gI:iLlM:mN:np:rSstuWw:z")) != -1)
switch(ch) {
case 'A':
Aflag = 1;
@@ -689,7 +689,7 @@ usage(void)
" netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core]",
" netstat -i | -I interface -s [-f protocol_family | -p protocol]\n"
" [-M core] [-N system]",
-" netstat -m [-c] [-M core] [-N system]",
+" netstat -m [-M core] [-N system]",
" netstat -r [-AenW] [-f address_family] [-M core] [-N system]",
" netstat -rs [-s] [-M core] [-N system]",
" netstat -g [-W] [-f address_family] [-M core] [-N system]",
OpenPOWER on IntegriCloud