summaryrefslogtreecommitdiffstats
path: root/contrib/netcat/nc.1
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2008-05-10 18:50:45 +0000
committerantoine <antoine@FreeBSD.org>2008-05-10 18:50:45 +0000
commit840e3ca1b5be5d79f3f4ed5f4b66a01bed910f1e (patch)
tree2c84a3a6f5b7d1e1facf59004acf43ecdef6cc6b /contrib/netcat/nc.1
parent900481a7e7cff233fcef3f0753e69d0790e7a9ff (diff)
downloadFreeBSD-src-840e3ca1b5be5d79f3f4ed5f4b66a01bed910f1e.zip
FreeBSD-src-840e3ca1b5be5d79f3f4ed5f4b66a01bed910f1e.tar.gz
Document freebsd extensions to netcat a bit better:
- sort the options - document -o and -O everywhere Reviewed by: delphij Approved by: rwatson (mentor)
Diffstat (limited to 'contrib/netcat/nc.1')
-rw-r--r--contrib/netcat/nc.119
1 files changed, 9 insertions, 10 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1
index b4f4ab9..02e11b7 100644
--- a/contrib/netcat/nc.1
+++ b/contrib/netcat/nc.1
@@ -36,7 +36,7 @@
.Sh SYNOPSIS
.Nm nc
.Bk -words
-.Op Fl 46DEdhklnoOrStUuvz
+.Op Fl 46DdEhklnOorStUuvz
.Op Fl e Ar IPsec_policy
.Op Fl i Ar interval
.Op Fl P Ar proxy_username
@@ -100,10 +100,6 @@ to use IPv6 addresses only.
Enable debugging on the socket.
.It Fl d
Do not attempt to read from stdin.
-.It Fl h
-Prints out
-.Nm
-help.
.It Fl E
Shortcut for
.Qo
@@ -118,6 +114,10 @@ to be used using the syntax described in
.Xr ipsec_set_policy 3 .
This flag can be specified up to two times, as typically one policy for
each direction is needed.
+.It Fl h
+Prints out
+.Nm
+help.
.It Fl i Ar interval
Specifies a delay time interval between lines of text sent and received.
Also causes a delay time between connections to multiple ports.
@@ -146,7 +146,10 @@ option are ignored.
.It Fl n
Do not do any DNS or service lookups on any specified addresses,
hostnames or ports.
-.\"
+.It Fl O
+Disables the use of TCP options on the socket, by setting the boolean
+TCP_NOOPT
+socket option.
.It Fl o
.Dq Once-only mode .
By default,
@@ -156,10 +159,6 @@ but continues until the network side has been closed down.
Specifying
.Fl o
will make it terminate on EOF as well.
-.It Fl o
-Disables the use of TCP options on the socket, by setting the boolean
-TCP_NOOPT
-socket option.
.It Fl P Ar proxy_username
Specifies a username to present to a proxy server that requires authentication.
If no username is specified then authentication will not be attempted.
OpenPOWER on IntegriCloud