aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index b0536ac01..44d274b85 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -311,6 +311,9 @@
311#ifdef CONFIG_NC 311#ifdef CONFIG_NC
312 APPLET(nc, nc_main, _BB_DIR_USR_BIN) 312 APPLET(nc, nc_main, _BB_DIR_USR_BIN)
313#endif 313#endif
314#ifdef CONFIG_NETSTAT
315 APPLET(netstat, netstat_main, _BB_DIR_BIN)
316#endif
314#ifdef CONFIG_NSLOOKUP 317#ifdef CONFIG_NSLOOKUP
315 APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN) 318 APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
316#endif 319#endif
diff --git a/include/usage.h b/include/usage.h
index bbed44d0c..46c11c2a3 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1225,6 +1225,17 @@
1225 "quit\n" \ 1225 "quit\n" \
1226 "221 foobar closing connection\n" 1226 "221 foobar closing connection\n"
1227 1227
1228#define netstat_trivial_usage \
1229 "[-lantuwx]"
1230#define netstat_full_usage \
1231 "-l display listening server sockets\n" \
1232 "-a display all sockets (default: connected)\n" \
1233 "-n don't resolve names\n" \
1234 "-t tcp sockets\n" \
1235 "-u udp sockets\n" \
1236 "-w raw sockets\n" \
1237 "-x unix sockets\n"
1238
1228#define nslookup_trivial_usage \ 1239#define nslookup_trivial_usage \
1229 "[HOST] [SERVER]" 1240 "[HOST] [SERVER]"
1230#define nslookup_full_usage \ 1241#define nslookup_full_usage \