summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2002-11-13 22:26:15 +0000
committermarkus <markus@openbsd.org>2002-11-13 22:26:15 +0000
commit786ab250eb565e74a6e37121cee7a64def5189c7 (patch)
tree7e984cf64c4bee9e3dec2e837e026ecd5f9e6428
parentput common CFLAGS+= in Makefile.inc (diff)
downloadwireguard-openbsd-786ab250eb565e74a6e37121cee7a64def5189c7.tar.xz
wireguard-openbsd-786ab250eb565e74a6e37121cee7a64def5189c7.zip
update usage; ok ericj@
-rw-r--r--usr.bin/nc/netcat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index 9e6acc9f6d7..23d0ed44681 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.52 2002/07/04 04:42:25 vincent Exp $ */
+/* $OpenBSD: netcat.c,v 1.53 2002/11/13 22:26:15 markus Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -709,6 +709,7 @@ help()
\t-4 Use IPv4\n\
\t-6 Use IPv6\n\
\t-U Use UNIX domain socket\n\
+ \t-X vers\t SOCKS version (4 or 5)\n\
\t-h This help text\n\
\t-i secs\t Delay interval for lines sent, ports scanned\n\
\t-k Keep inbound sockets open for multiple connects\n\
@@ -721,7 +722,7 @@ help()
\t-u UDP mode\n\
\t-v Verbose\n\
\t-w secs\t Timeout for connects and final net reads\n\
- \t-x addr[:port]\tSpecify socks5 proxy address and port\n\
+ \t-x addr[:port]\tSpecify socks proxy address and port\n\
\t-z Zero-I/O mode [used for scanning]\n\
Port numbers can be individual or ranges: lo-hi [inclusive]\n");
exit(1);
@@ -731,7 +732,7 @@ void
usage(int ret)
{
fprintf(stderr, "usage: nc [-46Uhklnrtuvz] [-i interval] [-p source port]\n");
- fprintf(stderr, "\t [-s ip address] [-w timeout] [-x proxy address [:port]]\n");
+ fprintf(stderr, "\t [-s ip address] [-w timeout] [-X vers] [-x proxy address [:port]]\n");
fprintf(stderr, "\t [hostname] [port[s...]]\n");
if (ret)
exit(1);