diff options
author | Matt Kraai <kraai@debian.org> | 2001-02-07 04:09:23 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-02-07 04:09:23 +0000 |
commit | 1d7026745028982980d17b1023c4ce8ec97ea946 (patch) | |
tree | e408c87ede7fc728458c316dfad2310fe68ddd3c /applets | |
parent | df8ccb635039a6bc8cfd51308b01cc0e58bbdc4d (diff) | |
download | busybox-w32-1d7026745028982980d17b1023c4ce8ec97ea946.tar.gz busybox-w32-1d7026745028982980d17b1023c4ce8ec97ea946.tar.bz2 busybox-w32-1d7026745028982980d17b1023c4ce8ec97ea946.zip |
Add listening support.
Diffstat (limited to 'applets')
-rw-r--r-- | applets/usage.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/applets/usage.c b/applets/usage.c index 215871b5a..1686910d5 100644 --- a/applets/usage.c +++ b/applets/usage.c | |||
@@ -959,9 +959,13 @@ const char mv_usage[] = | |||
959 | 959 | ||
960 | #if defined BB_NC | 960 | #if defined BB_NC |
961 | const char nc_usage[] = | 961 | const 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 |