diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-11-27 15:09:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-11-27 15:09:36 +0000 |
commit | 2339e83e2ae9a132194138fccdd6c58d5192295e (patch) | |
tree | e29935bfaada4b2e10d3d173e53f9caaa0d748a2 /usr.bin/tmux/tmux.1 | |
parent | 576d9b861ab07ec98ed76e30ff7f9118682175c6 (diff) |
Allow cmd-run-shell to accept -t to specify the pane to display the
output, requested by Alexander Tsepkov.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r-- | usr.bin/tmux/tmux.1 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 28e21467737..c497f1a0956 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.307 2012/11/27 13:52:23 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.308 2012/11/27 15:09:35 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -3394,12 +3394,18 @@ otherwise. Lock each client individually by running the command specified by the .Ic lock-command option. -.It Ic run-shell Ar shell-command +.It Xo Ic run-shell +.Op Fl t Ar target-pane +.Ar shell-command +.Xc .D1 (alias: Ic run ) Execute .Ar shell-command in the background without creating a window. -After it finishes, any output to stdout is displayed in copy mode. +After it finishes, any output to stdout is displayed in copy mode (in the pane +specified by +.Fl t +or the current pane if omitted). If the command doesn't return success, the exit status is also displayed. .It Ic server-info .D1 (alias: Ic info ) |