summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-10-03 20:58:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-10-03 20:58:40 +0000
commite9eaaa97a5072fdbce07d69eeff8841c1d683846 (patch)
treea21a68438cf898d8b9e4f3af3169fd21f3cc7982 /usr.bin
parentd3f5655b3738ae66a220dce27082890350f0f1d9 (diff)
Document set-hook -u.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/tmux.110
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index b4c165df8f7..58c441126b7 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.495 2016/09/12 15:40:58 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.496 2016/10/03 20:58:39 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -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: September 12 2016 $
+.Dd $Mdocdate: October 3 2016 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -3321,12 +3321,14 @@ Run when the program running in a pane exits.
Hooks are managed with these commands:
.Bl -tag -width Ds
.It Xo Ic set-hook
-.Op Fl g
+.Op Fl gu
.Op Fl t Ar target-session
.Ar hook-name
.Ar command
.Xc
-Sets hook
+Sets (or with
+.Fl u
+unsets) hook
.Ar hook-name
to
.Ar command .