summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2001-08-02 20:54:57 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2001-08-02 20:54:57 +0000
commitee06cf7ca12f074d556dc2b1e7acd183bcbe0835 (patch)
tree3573566b562691a04434afd5f4913665858ff8c7 /usr.bin
parent40d2a7b6d79257dae2d970175ae9ad260436e6b5 (diff)
fix doc syntax
from Dima Dorfman <dima@unixfreak.org>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/nc/nc.14
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1
index 031c9b1c207..5aeb8509c31 100644
--- a/usr.bin/nc/nc.1
+++ b/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nc.1,v 1.15 2001/06/27 03:05:21 smart Exp $
+.\" $OpenBSD: nc.1,v 1.16 2001/08/02 20:54:56 ericj Exp $
.\"
.\" Copyright (c) 1996 David Sacerdote
.\" All rights reserved.
@@ -163,7 +163,7 @@ was able to connect to.
.It Li "nc -v -u -z -w 3 hostname 20-30"
Send UDP packets to ports 20-30 of example.host, and report which ones
did not respond with an ICMP packet after three seconds.
-.It Li "nc -l -p 3000"
+.It Li "nc -l 3000"
Listen on TCP port 3000, and once there is a connection, send stdin to
the remote host, and send data from the remote host to stdout.
.It Li "echo foobar | nc hostname 1000"