summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-06-18 09:15:23 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-06-18 09:15:23 +0000
commita55551ee77ba8886986b9266b927c77a1631b957 (patch)
tree2acf5fd027b952ca0d826db23fd0e5ac382e9395 /usr.bin/tmux/tmux.1
parent0ec83015319ee73bec2ea24d2fbfa2080639f8fe (diff)
Add -a flag for detach-client, from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.17
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index bc2905195bc..a61380c884e 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.295 2012/06/18 09:13:12 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.296 2012/06/18 09:15:22 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -585,6 +585,7 @@ recently used
session.
.It Xo Ic detach-client
.Op Fl P
+.Op Fl a
.Op Fl s Ar target-session
.Op Fl t Ar target-client
.Xc
@@ -593,6 +594,10 @@ Detach the current client if bound to a key, the client specified with
.Fl t ,
or all clients currently attached to the session specified by
.Fl s .
+The
+.Fl a
+option kills all but the client given with
+.Fl t .
If
.Fl P
is given, send SIGHUP to the parent process of the client, typically causing it