summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-04-11 06:44:39 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-04-11 06:44:39 +0000
commit735f87bc668f72fa8c62e579fda82cca2a27f48e (patch)
treea11f7dedee4f013dcf577a6c2d11aa2bd5df14bb /tmux.1
parent98d450ac3adddd87b306a9f16d4738523b60a4ab (diff)
Add -s option to detach all clients attached to a session, from Zac
Sprackett.
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 7c5ea455..3450418c 100644
--- a/tmux.1
+++ b/tmux.1
@@ -576,10 +576,13 @@ session.
.It Xo Ic detach-client
.Op Fl P
.Op Fl t Ar target-client
+.Op Fl s Ar target-session
.Xc
.D1 (alias: Ic detach )
-Detach the current client if bound to a key, or the specified client with
-.Fl t .
+Detach the current client if bound to a key, the client specified with
+.Fl t ,
+or all clients currently attached to to the session specified by
+.Fl s .
If
.Fl P
is given, send SIGHUP to the parent process of the client, typically causing it