tcpudp: simplify help text

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-07-25 16:35:44 +02:00
parent 2ef4214dd9
commit 4abcb8b0d1

View File

@ -36,14 +36,14 @@
//usage:#define tcpsvd_full_usage "\n\n" //usage:#define tcpsvd_full_usage "\n\n"
//usage: "Create TCP socket, bind to IP:PORT and listen\n" //usage: "Create TCP socket, bind to IP:PORT and listen\n"
//usage: "for incoming connection. Run PROG for each connection.\n" //usage: "for incoming connection. Run PROG for each connection.\n"
//usage: "\n IP IP to listen on. '0' = all" //usage: "\n IP IP to listen on, 0 = all"
//usage: "\n PORT Port to listen on" //usage: "\n PORT Port to listen on"
//usage: "\n PROG ARGS Program to run" //usage: "\n PROG ARGS Program to run"
//usage: "\n -l NAME Local hostname (else looks up local hostname in DNS)" //usage: "\n -l NAME Local hostname (else looks up local hostname in DNS)"
//usage: "\n -u USER[:GRP] Change to user/group after bind" //usage: "\n -u USER[:GRP] Change to user/group after bind"
//usage: "\n -c N Handle up to N connections simultaneously" //usage: "\n -c N Handle up to N connections simultaneously"
//usage: "\n -b N Allow a backlog of approximately N TCP SYNs" //usage: "\n -b N Allow a backlog of approximately N TCP SYNs"
//usage: "\n -C N[:MSG] Allow only up to N connections from the same IP." //usage: "\n -C N[:MSG] Allow only up to N connections from the same IP"
//usage: "\n New connections from this IP address are closed" //usage: "\n New connections from this IP address are closed"
//usage: "\n immediately. MSG is written to the peer before close" //usage: "\n immediately. MSG is written to the peer before close"
//usage: "\n -h Look up peer's hostname" //usage: "\n -h Look up peer's hostname"
@ -56,7 +56,7 @@
//usage: "Create UDP socket, bind to IP:PORT and wait\n" //usage: "Create UDP socket, bind to IP:PORT and wait\n"
//usage: "for incoming packets. Run PROG for each packet,\n" //usage: "for incoming packets. Run PROG for each packet,\n"
//usage: "redirecting all further packets with same peer ip:port to it.\n" //usage: "redirecting all further packets with same peer ip:port to it.\n"
//usage: "\n IP IP to listen on. '0' = all" //usage: "\n IP IP to listen on, 0 = all"
//usage: "\n PORT Port to listen on" //usage: "\n PORT Port to listen on"
//usage: "\n PROG ARGS Program to run" //usage: "\n PROG ARGS Program to run"
//usage: "\n -l NAME Local hostname (else looks up local hostname in DNS)" //usage: "\n -l NAME Local hostname (else looks up local hostname in DNS)"