aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-14 06:39:44 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-14 06:39:44 +0000
commit61bd3ae1c63d576577a88eb06d94fd133cf41bfc (patch)
treece0694754b1421a2562b301eba772fa1a14a79bf /tmux.1
parent5ef5bd7c3127f00dca54499b48802bba85953a6a (diff)
downloadrtmux-61bd3ae1c63d576577a88eb06d94fd133cf41bfc.tar.gz
rtmux-61bd3ae1c63d576577a88eb06d94fd133cf41bfc.tar.bz2
rtmux-61bd3ae1c63d576577a88eb06d94fd133cf41bfc.zip
Document the -k flag to new-window.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.19
1 files changed, 6 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index 506fe51a..ba94b4e3 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.114 2009-07-14 06:39:10 nicm Exp $
+.\" $Id: tmux.1,v 1.115 2009-07-14 06:39:44 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