=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- src/usr.bin/tmux/tmux.1 2009/07/13 20:14:23 1.30 +++ src/usr.bin/tmux/tmux.1 2009/07/15 08:05:56 1.31 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.30 2009/07/13 20:14:23 jmc Exp $ +.\" $OpenBSD: tmux.1,v 1.31 2009/07/15 08:05:56 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 13 2009 $ +.Dd $Mdocdate: July 15 2009 $ .Dt TMUX 1 .Os .Sh NAME @@ -1555,13 +1555,20 @@ Unbind the key bound to .Ar key . .It Xo Ic unlink-window +.Op Fl k .Op Fl t Ar target-window .Xc .D1 (alias: Ic unlinkw ) Unlink .Ar target-window . -A window may be unlinked only if it is linked to multiple sessions - windows may -not be linked to no sessions. +Unless +.Fl k +is given, a window may be unlinked only if it is linked to multiple sessions - +windows may not be linked to no sessions; +if +.Fl k +is specified and the window is linked to only one session, it is unlinked and +destroyed. .It Xo Ic up-pane .Op Fl p Ar pane-index .Op Fl t Ar target-window