Sync OpenBSD patchset 1134:

Add -a for kill-session, from Thomas Adam.
This commit is contained in:
Tiago Cunha
2012-06-18 15:12:54 +00:00
parent 4a634a7da4
commit 1c15848c47
2 changed files with 20 additions and 7 deletions

7
tmux.1
View File

@ -614,9 +614,14 @@ If it does exist, exit with 0.
Kill the
.Nm
server and clients and destroy all sessions.
.It Ic kill-session Op Fl t Ar target-session
.It Ic kill-session
.Op Fl a
.Op Fl t Ar target-session
Destroy the given session, closing any windows linked to it and no other
sessions, and detaching all clients attached to it.
If
.Fl a
is given, all sessions but the specified one is killed.
.It Xo Ic list-clients
.Op Fl F Ar format
.Op Fl t Ar target-session