summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2013-08-20 21:04:40 +0000
committerjmc <>2013-08-20 21:04:40 +0000
commit481a622b762b4ec0b61ea9e6958e3470b7424e27 (patch)
tree0eca6ed8c5d6fb1d7d083be2315cec277af50d57 /src
parentd5f8f8e59eb9f2f497bd9efca4c92985f7a84b9d (diff)
downloadopenbsd-481a622b762b4ec0b61ea9e6958e3470b7424e27.tar.gz
openbsd-481a622b762b4ec0b61ea9e6958e3470b7424e27.tar.bz2
openbsd-481a622b762b4ec0b61ea9e6958e3470b7424e27.zip
add -F to usage() and help();
ok djm
Diffstat (limited to 'src')
-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 6997b321db..c4f8ca96a8 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.113 2013/08/20 16:22:09 djm Exp $ */ 1/* $OpenBSD: netcat.c,v 1.114 2013/08/20 21:04:40 jmc Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> 3 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
4 * 4 *
@@ -1082,6 +1082,7 @@ help(void)
1082 \t-6 Use IPv6\n\ 1082 \t-6 Use IPv6\n\
1083 \t-D Enable the debug socket option\n\ 1083 \t-D Enable the debug socket option\n\
1084 \t-d Detach from stdin\n\ 1084 \t-d Detach from stdin\n\
1085 \t-F Pass socket fd\n\
1085 \t-h This help text\n\ 1086 \t-h This help text\n\
1086 \t-I length TCP receive buffer length\n\ 1087 \t-I length TCP receive buffer length\n\
1087 \t-i secs\t Delay interval for lines sent, ports scanned\n\ 1088 \t-i secs\t Delay interval for lines sent, ports scanned\n\
@@ -1113,7 +1114,7 @@ void
1113usage(int ret) 1114usage(int ret)
1114{ 1115{
1115 fprintf(stderr, 1116 fprintf(stderr,
1116 "usage: nc [-46DdhklNnrStUuvz] [-I length] [-i interval] [-O length]\n" 1117 "usage: nc [-46DdFhklNnrStUuvz] [-I length] [-i interval] [-O length]\n"
1117 "\t [-P proxy_username] [-p source_port] [-s source] [-T ToS]\n" 1118 "\t [-P proxy_username] [-p source_port] [-s source] [-T ToS]\n"
1118 "\t [-V rtable] [-w timeout] [-X proxy_protocol]\n" 1119 "\t [-V rtable] [-w timeout] [-X proxy_protocol]\n"
1119 "\t [-x proxy_address[:port]] [destination] [port]\n"); 1120 "\t [-x proxy_address[:port]] [destination] [port]\n");