diff options
author | jmc <> | 2003-09-05 16:54:07 +0000 |
---|---|---|
committer | jmc <> | 2003-09-05 16:54:07 +0000 |
commit | 0d17c6a7f6bb982804d629d297cde2df23ff111b (patch) | |
tree | fd71babfef89ca264e7133da1f54cb93203fe88d | |
parent | 907b17c42a136132a2e911e8c66258755cad4391 (diff) | |
download | openbsd-0d17c6a7f6bb982804d629d297cde2df23ff111b.tar.gz openbsd-0d17c6a7f6bb982804d629d297cde2df23ff111b.tar.bz2 openbsd-0d17c6a7f6bb982804d629d297cde2df23ff111b.zip |
document -w timeout; from cedric@
ok deraadt@
-rw-r--r-- | src/usr.bin/nc/nc.1 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index f9a75e1506..29f506945c 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.25 2003/08/08 10:13:33 jmc Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.26 2003/09/05 16:54:07 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -129,6 +129,20 @@ Use UDP instead of the default option of TCP. | |||
129 | Have | 129 | Have |
130 | .Nm | 130 | .Nm |
131 | give more verbose output. | 131 | give more verbose output. |
132 | .It Fl w Ar timeout | ||
133 | If a connection and stdin are idle for more than | ||
134 | .Ar timeout | ||
135 | seconds, then the connection is silently closed. | ||
136 | The | ||
137 | .Fl w | ||
138 | flag has no effect on the | ||
139 | .Fl l | ||
140 | option, i.e.\& | ||
141 | .Nm | ||
142 | will listen forever for a connection, with or without the | ||
143 | .Fl w | ||
144 | flag. | ||
145 | The default is no timeout. | ||
132 | .It Fl x Ar proxy address Op :port | 146 | .It Fl x Ar proxy address Op :port |
133 | Requests that | 147 | Requests that |
134 | .Nm | 148 | .Nm |