Add -q flag to unbind-key to hide errors, GitHub issue 2381.

This commit is contained in:
nicm
2020-09-16 19:12:59 +00:00
parent 869c0e860f
commit 3206869ea5
2 changed files with 36 additions and 23 deletions

5
tmux.1
View File

@ -3039,7 +3039,7 @@ Send the prefix key, or with
.Fl 2
the secondary prefix key, to a window as if it was pressed.
.It Xo Ic unbind-key
.Op Fl an
.Op Fl anq
.Op Fl T Ar key-table
.Ar key
.Xc
@ -3054,6 +3054,9 @@ are the same as for
If
.Fl a
is present, all key bindings are removed.
The
.Fl q
option prevents errors being returned.
.El
.Sh OPTIONS
The appearance and behaviour of