Add -s option to detach all clients attached to a session, from Zac

Sprackett.
This commit is contained in:
Nicholas Marriott
2011-04-11 06:44:56 +00:00
parent 75f218dc73
commit 457147d59d
2 changed files with 31 additions and 10 deletions

9
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.303 2011-04-06 22:31:23 nicm Exp $
.\" $Id: tmux.1,v 1.304 2011-04-11 06:44:56 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -580,10 +580,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