diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-13 08:09:47 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-13 08:09:47 +0100 |
commit | 6551f4bb3b651aa2dba77a98cc42828737b88306 (patch) | |
tree | 82dd6cbba583e9d4bc58a9334a8b74713d94da89 /cmd-unbind-key.c | |
parent | 76a9e6f27bb0c7b547989c3b80cf8cc0a148064d (diff) | |
parent | e0add119ea4a6c8d40905a7ad1f7bc3553d20ccc (diff) | |
download | rtmux-6551f4bb3b651aa2dba77a98cc42828737b88306.tar.gz rtmux-6551f4bb3b651aa2dba77a98cc42828737b88306.tar.bz2 rtmux-6551f4bb3b651aa2dba77a98cc42828737b88306.zip |
Merge branch 'obsd-master'
Conflicts:
paste.c
Diffstat (limited to 'cmd-unbind-key.c')
-rw-r--r-- | cmd-unbind-key.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-unbind-key.c b/cmd-unbind-key.c index 00c7779b..644a4c3a 100644 --- a/cmd-unbind-key.c +++ b/cmd-unbind-key.c @@ -34,8 +34,8 @@ const struct cmd_entry cmd_unbind_key_entry = { .name = "unbind-key", .alias = "unbind", - .args = { "acnt:T:", 0, 1 }, - .usage = "[-acn] [-t mode-table] [-T key-table] key", + .args = { "ant:T:", 0, 1 }, + .usage = "[-an] [-t mode-table] [-T key-table] key", .flags = 0, .exec = cmd_unbind_key_exec @@ -122,7 +122,6 @@ cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, key_code key) } mtmp.key = key; - mtmp.mode = !!args_has(args, 'c'); if ((mbind = RB_FIND(mode_key_tree, mtab->tree, &mtmp)) != NULL) { RB_REMOVE(mode_key_tree, mtab->tree, mbind); free(mbind); |