=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.716 retrieving revision 1.717 diff -u -r1.716 -r1.717 --- src/usr.bin/tmux/tmux.1 2020/03/12 13:19:20 1.716 +++ src/usr.bin/tmux/tmux.1 2020/03/12 13:25:45 1.717 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.716 2020/03/12 13:19:20 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.717 2020/03/12 13:25:45 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -5202,8 +5202,9 @@ option. .It Xo Ic run-shell .Op Fl b +.Op Fl d Ar delay .Op Fl t Ar target-pane -.Ar shell-command +.Ar [shell-command] .Xc .D1 (alias: Ic run ) Execute @@ -5216,8 +5217,12 @@ With .Fl b , the command is run in the background. -After it finishes, any output to stdout is displayed in copy mode (in the pane -specified by +.Fl d +waits for +.Ar delay +seconds before starting the command. +After the command finishes, any output to stdout is displayed in view 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.