summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-24 10:12:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-24 10:12:40 +0000
commitde8ce44c02b95a564982aef7efb86c7b971f6a82 (patch)
treecf3c0c3b582107473d7b640b44b85ac55317d368 /usr.bin/tmux/tmux.1
parentc9d1a10456f34e37db6d24d68d38df541e8b77ba (diff)
-a option to kill all except current pane. From Tiago Cunha, thanks!
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.113
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 15d40d562c0..52e54f1b0a2 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.111 2009/10/21 13:48:27 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.112 2009/10/24 10:12:39 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -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: October 21 2009 $
+.Dd $Mdocdate: October 24 2009 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -740,10 +740,17 @@ If only one window is matched, it'll be automatically selected, otherwise a
choice list is shown.
This command only works from inside
.Nm .
-.It Ic kill-pane Op Fl t Ar target-pane
+.It Xo Ic kill-pane
+.Op Fl a
+.Op Fl t Ar target-pane
+.Xc
.D1 (alias: Ic killp )
Destroy the given pane.
If no panes remain in the containing window, it is also destroyed.
+The
+.Fl a
+option kills all but the pane given with
+.Fl t .
.It Ic kill-window Op Fl t Ar target-window
.D1 (alias: Ic killw )
Kill the current window or the window at