summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-list-keys.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-10-14 22:14:23 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-10-14 22:14:23 +0000
commit7a01d0fd7a51152adf7bf9c41b69f4e1810846a7 (patch)
tree49d01266139f4b1abc026283b682ea1d04c54269 /usr.bin/tmux/cmd-list-keys.c
parent7208db85bf9d1098e9186149a922dfec263938e1 (diff)
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
Diffstat (limited to 'usr.bin/tmux/cmd-list-keys.c')
-rw-r--r--usr.bin/tmux/cmd-list-keys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-list-keys.c b/usr.bin/tmux/cmd-list-keys.c
index 7c618c7c81a..d9285bc5878 100644
--- a/usr.bin/tmux/cmd-list-keys.c
+++ b/usr.bin/tmux/cmd-list-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-list-keys.c,v 1.38 2016/10/12 14:50:14 nicm Exp $ */
+/* $OpenBSD: cmd-list-keys.c,v 1.39 2016/10/14 22:14:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -39,7 +39,7 @@ const struct cmd_entry cmd_list_keys_entry = {
.args = { "t:T:", 0, 0 },
.usage = "[-t mode-table] [-T key-table]",
- .flags = CMD_STARTSERVER,
+ .flags = CMD_STARTSERVER|CMD_AFTERHOOK,
.exec = cmd_list_keys_exec
};
@@ -50,7 +50,7 @@ const struct cmd_entry cmd_list_commands_entry = {
.args = { "F:", 0, 0 },
.usage = "[-F format]",
- .flags = CMD_STARTSERVER,
+ .flags = CMD_STARTSERVER|CMD_AFTERHOOK,
.exec = cmd_list_keys_exec
};