summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2003-09-05 16:54:07 +0000
committerjmc <>2003-09-05 16:54:07 +0000
commit0d17c6a7f6bb982804d629d297cde2df23ff111b (patch)
treefd71babfef89ca264e7133da1f54cb93203fe88d
parent907b17c42a136132a2e911e8c66258755cad4391 (diff)
downloadopenbsd-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.116
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.
129Have 129Have
130.Nm 130.Nm
131give more verbose output. 131give more verbose output.
132.It Fl w Ar timeout
133If a connection and stdin are idle for more than
134.Ar timeout
135seconds, then the connection is silently closed.
136The
137.Fl w
138flag has no effect on the
139.Fl l
140option, i.e.\&
141.Nm
142will listen forever for a connection, with or without the
143.Fl w
144flag.
145The default is no timeout.
132.It Fl x Ar proxy address Op :port 146.It Fl x Ar proxy address Op :port
133Requests that 147Requests that
134.Nm 148.Nm