aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-07 04:09:23 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-07 04:09:23 +0000
commit0c9d4ff539235664bffce047a682222a169b64b4 (patch)
treee408c87ede7fc728458c316dfad2310fe68ddd3c /usage.c
parent65a37c9f6fea0225b953324346fce1feee6d9df8 (diff)
downloadbusybox-w32-0c9d4ff539235664bffce047a682222a169b64b4.tar.gz
busybox-w32-0c9d4ff539235664bffce047a682222a169b64b4.tar.bz2
busybox-w32-0c9d4ff539235664bffce047a682222a169b64b4.zip
Add listening support.
git-svn-id: svn://busybox.net/trunk/busybox@1758 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--usage.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usage.c b/usage.c
index 215871b5a..1686910d5 100644
--- a/usage.c
+++ b/usage.c
@@ -959,9 +959,13 @@ const char mv_usage[] =
959 959
960#if defined BB_NC 960#if defined BB_NC
961const char nc_usage[] = 961const char nc_usage[] =
962 "nc [IP] [port]" 962 "nc [-p PORT] IP PORT\n"
963 " or: nc -l -p PORT"
963#ifndef BB_FEATURE_TRIVIAL_HELP 964#ifndef BB_FEATURE_TRIVIAL_HELP
964 "\n\nNetcat opens a pipe to IP:port" 965 "\n\nNetcat opens a pipe to IP:PORT\n"
966 "Options:\n"
967 "\t-l\tListen on the socket.\n"
968 "\t-p PORT\tBind the local port to PORT."
965#endif 969#endif
966 ; 970 ;
967#endif 971#endif