1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

-c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) and

usage() accordingly.

Submitted by:	Pawel Worach
This commit is contained in:
Maxim Konovalov 2004-10-20 11:18:31 +00:00
parent 3127ce5d60
commit 49c2dc64da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136726

View File

@ -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]",