aboutsummaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c8
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[] =
#if defined BB_NC
const char nc_usage[] =
- "nc [IP] [port]"
+ "nc [-p PORT] IP PORT\n"
+ " or: nc -l -p PORT"
#ifndef BB_FEATURE_TRIVIAL_HELP
- "\n\nNetcat opens a pipe to IP:port"
+ "\n\nNetcat opens a pipe to IP:PORT\n"
+ "Options:\n"
+ "\t-l\tListen on the socket.\n"
+ "\t-p PORT\tBind the local port to PORT."
#endif
;
#endif