Pawel Worach wrote: > The -c (cache stats) parameter was removed in main.c:1.68 (mbuma change) > so remove it from the usage. > Missed the getopt() thing. Index: usr.bin/netstat/main.c =================================================================== RCS file: /export/ctm/cvs/src/usr.bin/netstat/main.c,v retrieving revision 1.69 diff -u -r1.69 main.c --- usr.bin/netstat/main.c 26 Jul 2004 20:18:11 -0000 1.69 +++ usr.bin/netstat/main.c 19 Oct 2004 22:31:25 -0000 _at__at_ -287,7 +287,7 _at__at_ 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; _at__at_ -689,7 +689,7 _at__at_ " 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]", -- PawelReceived on Tue Oct 19 2004 - 20:33:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC