diff options
Diffstat (limited to 'src/usr.bin/nc/netcat.c')
| -rw-r--r-- | src/usr.bin/nc/netcat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index 74074aa938..4d81709bd0 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.179 2017/04/05 03:20:19 beck Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.180 2017/04/05 06:55:59 jmc Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
| 4 | * Copyright (c) 2015 Bob Beck. All rights reserved. | 4 | * Copyright (c) 2015 Bob Beck. All rights reserved. |
| @@ -1708,6 +1708,7 @@ help(void) | |||
| 1708 | \t-w timeout Timeout for connects and final net reads\n\ | 1708 | \t-w timeout Timeout for connects and final net reads\n\ |
| 1709 | \t-X proto Proxy protocol: \"4\", \"5\" (SOCKS) or \"connect\"\n\ | 1709 | \t-X proto Proxy protocol: \"4\", \"5\" (SOCKS) or \"connect\"\n\ |
| 1710 | \t-x addr[:port]\tSpecify proxy address and port\n\ | 1710 | \t-x addr[:port]\tSpecify proxy address and port\n\ |
| 1711 | \t-Z Peer certificate file\n\ | ||
| 1711 | \t-z Zero-I/O mode [used for scanning]\n\ | 1712 | \t-z Zero-I/O mode [used for scanning]\n\ |
| 1712 | Port numbers can be individual or ranges: lo-hi [inclusive]\n"); | 1713 | Port numbers can be individual or ranges: lo-hi [inclusive]\n"); |
| 1713 | exit(1); | 1714 | exit(1); |
| @@ -1724,7 +1725,8 @@ usage(int ret) | |||
| 1724 | "[-R CAfile]\n" | 1725 | "[-R CAfile]\n" |
| 1725 | "\t [-s source] [-T keyword] [-V rtable] [-w timeout] " | 1726 | "\t [-s source] [-T keyword] [-V rtable] [-w timeout] " |
| 1726 | "[-X proxy_protocol]\n" | 1727 | "[-X proxy_protocol]\n" |
| 1727 | "\t [-x proxy_address[:port]] [destination] [port]\n"); | 1728 | "\t [-x proxy_address[:port]] [-Z peercertfile] " |
| 1729 | "[destination] [port]\n"); | ||
| 1728 | if (ret) | 1730 | if (ret) |
| 1729 | exit(1); | 1731 | exit(1); |
| 1730 | } | 1732 | } |
