=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.524 retrieving revision 1.525 diff -u -r1.524 -r1.525 --- src/usr.bin/tmux/tmux.1 2017/01/11 16:09:57 1.524 +++ src/usr.bin/tmux/tmux.1 2017/01/13 10:12:12 1.525 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.524 2017/01/11 16:09:57 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.525 2017/01/13 10:12:12 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 11 2017 $ +.Dd $Mdocdate: January 13 2017 $ .Dt TMUX 1 .Os .Sh NAME @@ -724,6 +724,7 @@ option will not be applied. .It Xo Ic detach-client .Op Fl aP +.Op Fl E Ar shell-command .Op Fl s Ar target-session .Op Fl t Ar target-client .Xc @@ -740,6 +741,11 @@ .Fl P is given, send SIGHUP to the parent process of the client, typically causing it to exit. +With +.Fl E , +run +.Ar shell-command +to replace the client. .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.