From 49c2dc64da383c4ae862bbcc51e1dafd367fc4be Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Wed, 20 Oct 2004 11:18:31 +0000 Subject: [PATCH] -c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) and usage() accordingly. Submitted by: Pawel Worach --- usr.bin/netstat/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 1474ba3750e3..13d52d6fc34c 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]",