summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-03-11 20:14:08 +0000
committershin <shin@FreeBSD.org>2000-03-11 20:14:08 +0000
commitcd961dcd2638c763977d132ff10e831c3b4481fd (patch)
tree85e65722dec015affebab58a017145127bc74f60 /usr.bin/netstat/main.c
parent2e6d13f82a95de48eb41e380b8ce7457e85f1cb4 (diff)
downloadFreeBSD-src-cd961dcd2638c763977d132ff10e831c3b4481fd.zip
FreeBSD-src-cd961dcd2638c763977d132ff10e831c3b4481fd.tar.gz
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
Diffstat (limited to 'usr.bin/netstat/main.c')
-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 6ce6dcd..03f1fb1 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);
OpenPOWER on IntegriCloud