diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-09-05 16:54:08 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-09-05 16:54:08 +0000 |
commit | 36ea28e6dc827e6d26aa18f9e9474e59a03e1f92 (patch) | |
tree | c2a2380e561473bba708a14008d05630998fbf09 /usr.bin/nc/nc.1 | |
parent | 0f268fbfa2e09e63aff74d55e85dbb130181ee84 (diff) |
document -w timeout; from cedric@
ok deraadt@
Diffstat (limited to 'usr.bin/nc/nc.1')
-rw-r--r-- | usr.bin/nc/nc.1 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1 index f9a75e15066..29f506945cd 100644 --- a/usr.bin/nc/nc.1 +++ b/usr.bin/nc/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.25 2003/08/08 10:13:33 jmc Exp $ +.\" $OpenBSD: nc.1,v 1.26 2003/09/05 16:54:07 jmc Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -129,6 +129,20 @@ Use UDP instead of the default option of TCP. Have .Nm give more verbose output. +.It Fl w Ar timeout +If a connection and stdin are idle for more than +.Ar timeout +seconds, then the connection is silently closed. +The +.Fl w +flag has no effect on the +.Fl l +option, i.e.\& +.Nm +will listen forever for a connection, with or without the +.Fl w +flag. +The default is no timeout. .It Fl x Ar proxy address Op :port Requests that .Nm |