summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-15 00:52:18 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-15 00:52:18 +0000
commitd818d8053b700cc24a249e3284f4ea55f143b511 (patch)
tree55f127a6d2a134569e44bfe7c621ad1d8b28e86d /usr.bin
parent10a2236d6c6bcbc69d7b119e3b2189d9a8f103fe (diff)
Allow list-keys and list-commands to be run without a running server.
Diffstat (limited to 'usr.bin')
-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 97c7d178de5..d9396d71280 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.32 2015/12/13 21:53:57 nicm Exp $ */
+/* $OpenBSD: cmd-list-keys.c,v 1.33 2015/12/15 00:52:17 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 = 0,
+ .flags = CMD_STARTSERVER,
.exec = cmd_list_keys_exec
};
@@ -50,7 +50,7 @@ const struct cmd_entry cmd_list_commands_entry = {
.args = { "", 0, 0 },
.usage = "",
- .flags = 0,
+ .flags = CMD_STARTSERVER,
.exec = cmd_list_keys_exec
};