summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2019-03-05 06:47:12 +0000
committerjmc <jmc@openbsd.org>2019-03-05 06:47:12 +0000
commit7482ffbef346f6171fcc1038ff2e927f2b5abbd3 (patch)
tree1d3301c6ab940aff1e2bef8ec3ce2f568f29c2ac /usr.bin/netstat/main.c
parentbuild AMDGPU Target in addition to native (diff)
downloadwireguard-openbsd-7482ffbef346f6171fcc1038ff2e927f2b5abbd3.tar.xz
wireguard-openbsd-7482ffbef346f6171fcc1038ff2e927f2b5abbd3.zip
add -e to usage; while here, change the argument name to -T from tableid
to rtable, to match the man page;
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index ebe83fe66d2..4c406ce60bc 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.114 2019/03/04 21:32:26 dlg Exp $ */
+/* $OpenBSD: main.c,v 1.115 2019/03/05 06:47:12 jmc Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -446,9 +446,9 @@ usage(void)
{
(void)fprintf(stderr,
"usage: %s [-AaBln] [-f address_family] [-M core] [-N system]\n"
- " %s [-bdFgilmnqrstu] [-f address_family] [-M core] [-N system]\n"
- " [-T tableid]\n"
- " %s [-bdhn] [-c count] [-I interface] [-M core] [-N system] [-w wait]\n"
+ " %s [-bdeFgilmnqrstu] [-f address_family] [-M core] [-N system]\n"
+ " [-T rtable]\n"
+ " %s [-bdehn] [-c count] [-I interface] [-M core] [-N system] [-w wait]\n"
" %s [-v] [-M core] [-N system] -P pcbaddr\n"
" %s [-s] [-M core] [-N system] [-p protocol]\n"
" %s [-a] [-f address_family] [-i | -I interface]\n"