summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Griebl2002-05-14 23:10:58 +0000
committerRobert Griebl2002-05-14 23:10:58 +0000
commit8187bb4394709fd091d487f562ac6c6b5286abc7 (patch)
tree9e0c8cead5df0027c729d91805be8fc8c5e5614f /include
parent820098fd61e9c2ed7836fd61b2824d2fb4b22861 (diff)
downloadbusybox-8187bb4394709fd091d487f562ac6c6b5286abc7.zip
busybox-8187bb4394709fd091d487f562ac6c6b5286abc7.tar.gz
This patch adds -e (extended information) to route and -r/-e (show routing
tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts.
Diffstat (limited to 'include')
-rw-r--r--include/usage.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index d0f3dfc..c24d71e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1281,11 +1281,13 @@
"221 foobar closing connection\n"
#define netstat_trivial_usage \
- "[-lantuwx]"
+ "[-laenrtuwx]"
#define netstat_full_usage \
"-l display listening server sockets\n" \
"-a display all sockets (default: connected)\n" \
+ "-e display other/more information\n" \
"-n don't resolve names\n" \
+ "-r display routing table\n" \
"-t tcp sockets\n" \
"-u udp sockets\n" \
"-w raw sockets\n" \
@@ -1450,7 +1452,8 @@
#define route_full_usage \
"Edit the kernel's routing tables.\n\n" \
"Options:\n" \
- "\t-n\tDont resolve names."
+ "\t-n\tDont resolve names.\n" \
+ "\t-e\tDisplay other/more information"
#define rpm2cpio_trivial_usage \
"package.rpm"