From 1d7026745028982980d17b1023c4ce8ec97ea946 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 7 Feb 2001 04:09:23 +0000 Subject: Add listening support. --- applets/usage.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'applets/usage.c') 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 -- cgit v1.2.3