aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-01 09:39:03 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-01 09:39:03 +0000
commite160809b5d748dfb48eef16134b26f8ec61f18e0 (patch)
tree811452c3e50482b9f4063de1121dd630c44dbf0e /include/usage.h
parent5348a94d2a6baae045918c4cc2bdd256ee8de5b8 (diff)
downloadbusybox-w32-e160809b5d748dfb48eef16134b26f8ec61f18e0.tar.gz
busybox-w32-e160809b5d748dfb48eef16134b26f8ec61f18e0.tar.bz2
busybox-w32-e160809b5d748dfb48eef16134b26f8ec61f18e0.zip
Copyright, help text, whitespace cleanups
git-svn-id: svn://busybox.net/trunk/busybox@18295 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 09b6908f9..e1fbf7599 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3326,9 +3326,27 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3326 "1\n" 3326 "1\n"
3327 3327
3328#define tcpsvd_trivial_usage \ 3328#define tcpsvd_trivial_usage \
3329 "TODO" 3329 "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..."
3330/* with not-implemented options: */
3331/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */
3330#define tcpsvd_full_usage \ 3332#define tcpsvd_full_usage \
3331 "TODO" 3333 "tcpsvd creates TCP/IP socket, binds it to host:port\n" \
3334 "and listens on in for incoming connections. For each connection\n" \
3335 "it runs prog" \
3336 "\n" \
3337 "\nip IP to listen on. '0' = 'all'" \
3338 "\nport Port to listen on" \
3339 "\nprog [arg] Program to run for each connection" \
3340 "\n-l name Local hostname (else looks up local hostname in DNS)" \
3341 "\n-u user[:group] Change to user/group after bind" \
3342 "\n-c n Handle up to n connections simultaneously" \
3343 "\n-C n[:msg] Allow only up to n connections from the same IP" \
3344 "\n New connections from this IP address are closed" \
3345 "\n immediately. 'msg' is written to the peer before close" \
3346 "\n-h Look up peer's hostname in DNS" \
3347 "\n-b n Allow a backlog of approximately n TCP SYNs" \
3348 "\n-E Do not set up TCP-related environment variables" \
3349 "\n-v Verbose"
3332 3350
3333#define tftp_trivial_usage \ 3351#define tftp_trivial_usage \
3334 "[OPTION]... HOST [PORT]" 3352 "[OPTION]... HOST [PORT]"