aboutsummaryrefslogtreecommitdiff
path: root/contrib/netcat/nc.1
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2008-05-10 18:50:45 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2008-05-10 18:50:45 +0000
commitb6642dadae33c79606b75f1c6a1641e7e98d1c43 (patch)
tree2c84a3a6f5b7d1e1facf59004acf43ecdef6cc6b /contrib/netcat/nc.1
parent35e1cea83a58b8d03ce9ef8c0155eb9d26333e39 (diff)
downloadsrc-b6642dadae33c79606b75f1c6a1641e7e98d1c43.tar.gz
src-b6642dadae33c79606b75f1c6a1641e7e98d1c43.zip
Document freebsd extensions to netcat a bit better:
- sort the options - document -o and -O everywhere Reviewed by: delphij Approved by: rwatson (mentor)
Notes
Notes: svn path=/head/; revision=178927
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 b4f4ab95a832..02e11b75233c 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.