diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-31 11:07:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-31 11:07:12 +0000 |
commit | 1552ff7efb760214eb4e5afc97f200136a935643 (patch) | |
tree | b802098fd303d7f2630a20e50cc891084120fcf2 /include | |
parent | ec07469a3eff7f9ac7be886390592c31163ddf59 (diff) | |
download | busybox-w32-1552ff7efb760214eb4e5afc97f200136a935643.tar.gz busybox-w32-1552ff7efb760214eb4e5afc97f200136a935643.tar.bz2 busybox-w32-1552ff7efb760214eb4e5afc97f200136a935643.zip |
Move usage.h to include/usage.h
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 11 |
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 \ |