summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2013-08-20 21:04:41 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2013-08-20 21:04:41 +0000
commita0168c8f79ab97f30d5520b8506936299c5f5df4 (patch)
treeaace39ba1ae3dd5fcad009227a35fe25019d0c1a /usr.bin
parent8a6c8007beba889ed7bffa20d05adb5b2b46ecbe (diff)
add -F to usage() and help();
ok djm
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/nc/netcat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index 6997b321db2..c4f8ca96a8a 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.113 2013/08/20 16:22:09 djm Exp $ */
+/* $OpenBSD: netcat.c,v 1.114 2013/08/20 21:04:40 jmc Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -1082,6 +1082,7 @@ help(void)
\t-6 Use IPv6\n\
\t-D Enable the debug socket option\n\
\t-d Detach from stdin\n\
+ \t-F Pass socket fd\n\
\t-h This help text\n\
\t-I length TCP receive buffer length\n\
\t-i secs\t Delay interval for lines sent, ports scanned\n\
@@ -1113,7 +1114,7 @@ void
usage(int ret)
{
fprintf(stderr,
- "usage: nc [-46DdhklNnrStUuvz] [-I length] [-i interval] [-O length]\n"
+ "usage: nc [-46DdFhklNnrStUuvz] [-I length] [-i interval] [-O length]\n"
"\t [-P proxy_username] [-p source_port] [-s source] [-T ToS]\n"
"\t [-V rtable] [-w timeout] [-X proxy_protocol]\n"
"\t [-x proxy_address[:port]] [destination] [port]\n");