diff options
author | ru <ru@FreeBSD.org> | 2001-06-14 14:15:41 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-14 14:15:41 +0000 |
commit | 4218706f3d2295237c5effb7ef2e5d5ebf92984d (patch) | |
tree | 506696ac29ffd4f6072a98c90b0e21ea52abf62a /usr.bin/netstat | |
parent | 2ec7f0d19f7d1d4e02ec98b605a460f015c9f6b5 (diff) | |
download | FreeBSD-src-4218706f3d2295237c5effb7ef2e5d5ebf92984d.zip FreeBSD-src-4218706f3d2295237c5effb7ef2e5d5ebf92984d.tar.gz |
Really delete the -h option.
CSRG revision 5.33 deleted -h option from getopt(), but not
from usage(). Revision 8.3 restored it in getopt().
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 3aab72b..1981e44 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -327,7 +327,7 @@ main(argc, argv) af = AF_UNSPEC; - while ((ch = getopt(argc, argv, "Aabdf:ghI:lLiM:mN:np:rstuWw:")) != -1) + while ((ch = getopt(argc, argv, "Aabdf:gI:iLlM:mN:np:rstuWw:")) != -1) switch(ch) { case 'A': Aflag = 1; @@ -725,7 +725,7 @@ usage() { (void)fprintf(stderr, "%s\n%s\n%s\n%s\n", "usage: netstat [-AaLlnW] [-f address_family] [-M core] [-N system]", -" netstat [-abdghilmnrs] [-f address_family] [-M core] [-N system]", +" netstat [-abdgilmnrs] [-f address_family] [-M core] [-N system]", " netstat [-bdn] [-I interface] [-M core] [-N system] [-w wait]", " netstat [-M core] [-N system] [-p protocol]"); exit(1); |