mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Add a -P option to detach to HUP the client's parent process (usually
causing it to exit as well).
This commit is contained in:
9
tmux.1
9
tmux.1
@ -550,10 +550,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.
|
||||
|
Reference in New Issue
Block a user