From 3206869ea5cbcf0caa9e62ec11edb170aae2cf27 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 16 Sep 2020 19:12:59 +0000 Subject: Add -q flag to unbind-key to hide errors, GitHub issue 2381. --- tmux.1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 08b329f4..b5cbafe8 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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 -- cgit