Move usage.h to include/usage.h

This commit is contained in:
Eric Andersen 2001-10-31 11:07:12 +00:00
parent ec07469a3e
commit 1552ff7efb
4 changed files with 16 additions and 1906 deletions

View File

@ -230,9 +230,9 @@ doc: olddoc
# Old Docs...
olddoc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
docs/busybox.pod : docs/busybox_header.pod applets/usage.h docs/busybox_footer.pod
docs/busybox.pod : docs/busybox_header.pod include/usage.h docs/busybox_footer.pod
- ( cat docs/busybox_header.pod; \
docs/autodocifier.pl applets/usage.h; \
docs/autodocifier.pl include/usage.h; \
cat docs/busybox_footer.pod ) > docs/busybox.pod
docs/BusyBox.txt: docs/busybox.pod

File diff suppressed because it is too large Load Diff

View File

@ -311,6 +311,9 @@
#ifdef CONFIG_NC
APPLET(nc, nc_main, _BB_DIR_USR_BIN)
#endif
#ifdef CONFIG_NETSTAT
APPLET(netstat, netstat_main, _BB_DIR_BIN)
#endif
#ifdef CONFIG_NSLOOKUP
APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
#endif

View File

@ -1225,6 +1225,17 @@
"quit\n" \
"221 foobar closing connection\n"
#define netstat_trivial_usage \
"[-lantuwx]"
#define netstat_full_usage \
"-l display listening server sockets\n" \
"-a display all sockets (default: connected)\n" \
"-n don't resolve names\n" \
"-t tcp sockets\n" \
"-u udp sockets\n" \
"-w raw sockets\n" \
"-x unix sockets\n"
#define nslookup_trivial_usage \
"[HOST] [SERVER]"
#define nslookup_full_usage \