diff options
author | ericj <> | 2002-02-19 22:45:18 +0000 |
---|---|---|
committer | ericj <> | 2002-02-19 22:45:18 +0000 |
commit | a03c0e851f1aaa82f73eef4a7673768cae02b444 (patch) | |
tree | ff7b2a1abfe7544af9f48c80a3101112d866d338 /src/usr.bin/nc/nc.1 | |
parent | bdb78ac7733919cb9e222816860db6c87a5031df (diff) | |
download | openbsd-a03c0e851f1aaa82f73eef4a7673768cae02b444.tar.gz openbsd-a03c0e851f1aaa82f73eef4a7673768cae02b444.tar.bz2 openbsd-a03c0e851f1aaa82f73eef4a7673768cae02b444.zip |
man page fixes
from Kevin Steves <stevesk@pobox.com>
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 721a2c4896..5c0cc5e244 100644 --- a/src/usr.bin/nc/nc.1 +++ b/src/usr.bin/nc/nc.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: nc.1,v 1.20 2002/02/17 03:03:06 ericj Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.21 2002/02/19 22:45:18 ericj Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -95,7 +95,7 @@ Also causes a delay time between connections to multiple ports. | |||
95 | .It Fl k | 95 | .It Fl k |
96 | Forces | 96 | Forces |
97 | .Nm | 97 | .Nm |
98 | to stay listening for another connection after it's current connection | 98 | to stay listening for another connection after its current connection |
99 | is completed. | 99 | is completed. |
100 | .It Fl l | 100 | .It Fl l |
101 | Used to specify that | 101 | Used to specify that |
@@ -103,8 +103,8 @@ Used to specify that | |||
103 | should listen for an incoming connection rather than initiate a | 103 | should listen for an incoming connection rather than initiate a |
104 | connection to a remote host. | 104 | connection to a remote host. |
105 | .It Fl n | 105 | .It Fl n |
106 | Do not do any DNS or service lookups on any specified addresses or | 106 | Do not do any DNS or service lookups on any specified addresses, |
107 | hostnames, or ports. | 107 | hostnames or ports. |
108 | .It Fl p Ar port | 108 | .It Fl p Ar port |
109 | Specifies the source port | 109 | Specifies the source port |
110 | .Nm | 110 | .Nm |
@@ -112,7 +112,7 @@ should use, subject to privilege restrictions and availability. | |||
112 | .It Fl r | 112 | .It Fl r |
113 | Specifies that source and/or destination ports should be chosen randomly | 113 | Specifies that source and/or destination ports should be chosen randomly |
114 | instead of sequentially within a range or in the order that the system | 114 | instead of sequentially within a range or in the order that the system |
115 | assigns. | 115 | assigns them. |
116 | .It Fl s Ar hostname/ip address | 116 | .It Fl s Ar hostname/ip address |
117 | Specifies the IP of the interface which is used to send the packets. | 117 | Specifies the IP of the interface which is used to send the packets. |
118 | .It Fl t | 118 | .It Fl t |
@@ -160,9 +160,6 @@ IP for the local end of the connection. | |||
160 | .It Li "nc -v hostname 42" | 160 | .It Li "nc -v hostname 42" |
161 | Open a TCP connection to port 42 of hostname, displaying some | 161 | Open a TCP connection to port 42 of hostname, displaying some |
162 | diagnostic messages on stderr. | 162 | diagnostic messages on stderr. |
163 | .It Li "nc -v -v hostname 42" | ||
164 | Open a TCP connection to port 42 of hostname, displaying all | ||
165 | diagnostic messages on stderr. | ||
166 | .It Li "nc -v -z hostname 20-30" | 163 | .It Li "nc -v -z hostname 20-30" |
167 | Attempt to open TCP connections to ports 20 through 30 of | 164 | Attempt to open TCP connections to ports 20 through 30 of |
168 | hostname, and report which ones | 165 | hostname, and report which ones |