diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-10-27 22:40:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-10-27 22:40:15 +0000 |
commit | 5ed3daf28bc2a2677206425cbdfeda88c8c92624 (patch) | |
tree | aa724224c986894783c8ea6ceed1fe9a5bb2420a /tmux.1 | |
parent | f5a73c54331df1b187760b6d8207dc1390ee1927 (diff) | |
download | rtmux-5ed3daf28bc2a2677206425cbdfeda88c8c92624.tar.gz rtmux-5ed3daf28bc2a2677206425cbdfeda88c8c92624.tar.bz2 rtmux-5ed3daf28bc2a2677206425cbdfeda88c8c92624.zip |
Didn't really think the else behaviour through - requiring argv to
contain "else" is silly so just omit that, also some manpage
tweaks. From Tiago Cunha.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2971,13 +2971,15 @@ Miscellaneous commands are as follows: .Bl -tag -width Ds .It Ic clock-mode Op Fl t Ar target-pane Display a large clock. -.It Ic if-shell Ar shell-command command +.It Ic if-shell Ar shell-command command Op Ar command .D1 (alias: Ic if ) -Execute +Execute the first .Ar command if .Ar shell-command -returns success. +returns success or the second +.Ar command +otherwise. .It Ic lock-server .D1 (alias: Ic lock ) Lock each client individually by running the command specified by the |