summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-25 14:56:34 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-25 14:56:34 +0000
commit354acbc1aa7938af55f3fbbe8fc9908ce0a7ab0f (patch)
tree677a8c5da205063e59773f70da2aa6dbd4842187 /usr.bin
parent2922c63002e567268830ce24bcad5faf84c16441 (diff)
avoid trailing .Ns, reduce .Xo and .Sm, drop redundant .Bk
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/nc/nc.116
1 files changed, 4 insertions, 12 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1
index 461e9e41be9..6b14122f3d6 100644
--- a/usr.bin/nc/nc.1
+++ b/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nc.1,v 1.70 2015/09/12 07:56:56 jmc Exp $
+.\" $OpenBSD: nc.1,v 1.71 2015/09/25 14:56:33 schwarze Exp $
.\"
.\" Copyright (c) 1996 David Sacerdote
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 12 2015 $
+.Dd $Mdocdate: September 25 2015 $
.Dt NC 1
.Os
.Sh NAME
@@ -33,7 +33,6 @@
.Nd arbitrary TCP and UDP connections and listens
.Sh SYNOPSIS
.Nm nc
-.Bk -words
.Op Fl 46cDdFhklNnrStUuvz
.Op Fl C Ar certfile
.Op Fl e Ar name
@@ -50,13 +49,9 @@
.Op Fl V Ar rtable
.Op Fl w Ar timeout
.Op Fl X Ar proxy_protocol
-.Oo Xo
-.Fl x Ar proxy_address Ns Oo : Ns
-.Ar port Oc
-.Xc Oc
+.Op Fl x Ar proxy_address Ns Op : Ns Ar port
.Op Ar destination
.Op Ar port
-.Ek
.Sh DESCRIPTION
The
.Nm
@@ -302,10 +297,7 @@ and
.Dq connect
(HTTPS proxy).
If the protocol is not specified, SOCKS version 5 is used.
-.It Xo
-.Fl x Ar proxy_address Ns Oo : Ns
-.Ar port Oc
-.Xc
+.It Fl x Ar proxy_address Ns Op : Ns Ar port
Requests that
.Nm
should connect to