aboutsummaryrefslogtreecommitdiff
path: root/toys/net
diff options
context:
space:
mode:
Diffstat (limited to 'toys/net')
-rw-r--r--toys/net/netcat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toys/net/netcat.c b/toys/net/netcat.c
index 673d5d19..833d32ae 100644
--- a/toys/net/netcat.c
+++ b/toys/net/netcat.c
@@ -15,6 +15,8 @@ config NETCAT
help
usage: netcat [-46] [-u] [-wpq #] [-s addr] {IPADDR PORTNUM|-f FILENAME}
+ Forward stdin/stdout to a file or network connection.
+
-4 Force IPv4
-6 Force IPv6
-f Use FILENAME (ala /dev/ttyS0) instead of network