aboutsummaryrefslogtreecommitdiff
path: root/toys/net/netstat.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-10-17 16:21:37 -0700
committerRob Landley <rob@landley.net>2018-10-20 14:52:08 -0500
commit74f22a7d5cb6ed03f00c261fb4e28b411f1c4c0a (patch)
tree7dcfe85f05948afe402a9a399d0d37d6a7d4d23a /toys/net/netstat.c
parent3727bafda4093dffaec93a9f679f997c3df8bf70 (diff)
downloadtoybox-74f22a7d5cb6ed03f00c261fb4e28b411f1c4c0a.tar.gz
Some more --help consistency.
From eyeballing the output of for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \ grep '^-' | grep -v "\t"
Diffstat (limited to 'toys/net/netstat.c')
-rw-r--r--toys/net/netstat.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/toys/net/netstat.c b/toys/net/netstat.c
index 7d672488..7bebb327 100644
--- a/toys/net/netstat.c
+++ b/toys/net/netstat.c
@@ -14,17 +14,17 @@ config NETSTAT
Display networking information. Default is netsat -tuwx
- -r routing table
- -a all sockets (not just connected)
- -l listening server sockets
- -t TCP sockets
- -u UDP sockets
- -w raw sockets
- -x unix sockets
- -e extended info
- -n don't resolve names
- -W wide display
- -p PID/Program name of sockets
+ -r routing table
+ -a all sockets (not just connected)
+ -l listening server sockets
+ -t TCP sockets
+ -u UDP sockets
+ -w raw sockets
+ -x unix sockets
+ -e extended info
+ -n don't resolve names
+ -W wide display
+ -p show PID/program name of sockets
*/
#define FOR_netstat