summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/netcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/nc/netcat.c')
-rw-r--r--src/usr.bin/nc/netcat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c
index f303bd2fb1..d6d3a2cffe 100644
--- a/src/usr.bin/nc/netcat.c
+++ b/src/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: netcat.c,v 1.68 2004/03/01 00:37:08 tedu Exp $ */ 1/* $OpenBSD: netcat.c,v 1.69 2004/03/03 06:45:54 tedu Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> 3 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
4 * 4 *
@@ -750,6 +750,7 @@ help(void)
750 fprintf(stderr, "\tCommand Summary:\n\ 750 fprintf(stderr, "\tCommand Summary:\n\
751 \t-4 Use IPv4\n\ 751 \t-4 Use IPv4\n\
752 \t-6 Use IPv6\n\ 752 \t-6 Use IPv6\n\
753 \t-d Detach from stdin\n\
753 \t-h This help text\n\ 754 \t-h This help text\n\
754 \t-i secs\t Delay interval for lines sent, ports scanned\n\ 755 \t-i secs\t Delay interval for lines sent, ports scanned\n\
755 \t-k Keep inbound sockets open for multiple connects\n\ 756 \t-k Keep inbound sockets open for multiple connects\n\
@@ -774,7 +775,7 @@ help(void)
774void 775void
775usage(int ret) 776usage(int ret)
776{ 777{
777 fprintf(stderr, "usage: nc [-46hklnrStUuvz] [-i interval] [-p source_port] [-s source_ip_address]\n"); 778 fprintf(stderr, "usage: nc [-46dhklnrStUuvz] [-i interval] [-p source_port] [-s source_ip_address]\n");
778 fprintf(stderr, "\t [-w timeout] [-X socks_version] [-x proxy_address[:port]] [hostname]\n"); 779 fprintf(stderr, "\t [-w timeout] [-X socks_version] [-x proxy_address[:port]] [hostname]\n");
779 fprintf(stderr, "\t [port[s]]\n"); 780 fprintf(stderr, "\t [port[s]]\n");
780 if (ret) 781 if (ret)