summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-07-12 23:45:03 +0000
committernicm <nicm@openbsd.org>2009-07-12 23:45:03 +0000
commitd542697773419e4f3dde1b69e6a03e02e8e1aba0 (patch)
tree25c18a8c529d072dfe46f402dc89420ba4e25910
parentsync to 1.7.24: remove long-fixed FIXME (diff)
downloadwireguard-openbsd-d542697773419e4f3dde1b69e6a03e02e8e1aba0.tar.xz
wireguard-openbsd-d542697773419e4f3dde1b69e6a03e02e8e1aba0.zip
Document the -k flag to new-window.
-rw-r--r--usr.bin/tmux/tmux.19
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