summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-12 23:45:03 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-12 23:45:03 +0000
commit88555d96d5c979a2675e079dbd26188ed092fb88 (patch)
tree92e321278742b4e293795b48f1039ccefe83c3c2 /tmux.1
parent9e49ec6cd325bf521f63450f3f87525cb82c63a9 (diff)
Document the -k flag to new-window.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.17
1 files changed, 5 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 30ab53e4..e3965c7a 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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