diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-12 23:45:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-12 23:45:04 +0000 |
commit | a0d35df85bb82500dba98a51d3e1e29ce56c7ef1 (patch) | |
tree | 026b8f6f5bad10b74c549a1d4a56ebd681d59aa9 | |
parent | ff7f488c8ca4cd11fee0954817cfffb046f393ba (diff) |
Document the -k flag to new-window.
-rw-r--r-- | usr.bin/tmux/tmux.1 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 0c5c70108d8..d52574444ff 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.27 2009/07/12 16:15:34 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.28 2009/07/12 23:45:03 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -847,7 +847,7 @@ and .Ar command are the name of and command to execute in the initial window. .It Xo Ic new-window -.Op Fl d +.Op Fl dk .Op Fl n Ar window-name .Op Fl t Ar target-window .Op Ar command @@ -858,7 +858,10 @@ If .Fl d is given, the session does not make the new window the current window. .Ar target-window -represents the window to be created. +represents the window to be created; if the target already exists an error is +shown, unless the +.Fl k +flag is used, in which case it is destroyed. .Ar command is the command to execute. If |