aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-03-11 20:14:08 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-03-11 20:14:08 +0000
commit5f2cd67530abffe7a91287c7cd2fb83d90b232f9 (patch)
treee9c97079579fd7433c385babf737092944aea364 /usr.bin/netstat
parentd499929ea1d462e883e7593e9a3cfba82ad46d2b (diff)
downloadsrc-5f2cd67530abffe7a91287c7cd2fb83d90b232f9.tar.gz
src-5f2cd67530abffe7a91287c7cd2fb83d90b232f9.zip
Add a flag to the usage display.
There was a missing description for a new flags to netstat. I already added the fix to netstat man, but usage() change is also necessary. Specified by: Ben Smithurst <ben@scientia.demon.co.uk> Approved by: jkh
Notes
Notes: svn path=/head/; revision=57914
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 6ce6dcdd4047..03f1fb110303 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -673,8 +673,8 @@ static void
usage()
{
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n",
-"usage: netstat [-Aan] [-f address_family] [-M core] [-N system]",
-" netstat [-abdghimnrs] [-f address_family] [-M core] [-N system]",
+"usage: netstat [-Aaln] [-f address_family] [-M core] [-N system]",
+" netstat [-abdghilmnrs] [-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);