aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-03-19 23:27:35 +0000
committerTiago Cunha <tcunha@gmx.com>2011-03-19 23:27:35 +0000
commitd0cca3924ec7d04321259264b23d0e083f2414c5 (patch)
treea50a2f8880052862058ea994886e0f184c280933 /tmux.1
parent34bb013b92a61233cc9feed7866a660e22693265 (diff)
downloadrtmux-d0cca3924ec7d04321259264b23d0e083f2414c5.tar.gz
rtmux-d0cca3924ec7d04321259264b23d0e083f2414c5.tar.bz2
rtmux-d0cca3924ec7d04321259264b23d0e083f2414c5.zip
Sync OpenBSD patchset 863:
Add a -P option to detach to HUP the client's parent process (usually causing it to exit as well).
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 9 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 67f9ed56..a8e7737a 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.295 2011-01-21 23:55:26 tcunha Exp $
+.\" $Id: tmux.1,v 1.296 2011-03-19 23:27:35 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -554,10 +554,17 @@ If no server is started,
.Ic attach-session
will attempt to start it; this will fail unless sessions are created in the
configuration file.
-.It Ic detach-client Op Fl t Ar target-client
+.It Xo Ic detach-client
+.Op Fl P
+.Op Fl t Ar target-client
+.Xc
.D1 (alias: Ic detach )
Detach the current client if bound to a key, or the specified client with
.Fl t .
+If
+.Fl P
+is given, send SIGHUP to the parent process of the client, typically causing it
+to exit.
.It Ic has-session Op Fl t Ar target-session
.D1 (alias: Ic has )
Report an error and exit with 1 if the specified session does not exist.