summaryrefslogtreecommitdiffstats
path: root/cmd-list-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-15 00:52:17 +0000
committernicm <nicm>2015-12-15 00:52:17 +0000
commit9d88d82d5e8caa7882a28ac95fda19754e5553e7 (patch)
treef6513f34cadaf327f1e2c704f26cc4d020b97fdd /cmd-list-keys.c
parent6f417ec9438de4440522483be02c51803d628313 (diff)
Allow list-keys and list-commands to be run without a running server.
Diffstat (limited to 'cmd-list-keys.c')
-rw-r--r--cmd-list-keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-list-keys.c b/cmd-list-keys.c
index 08796e5d..4abe2473 100644
--- a/cmd-list-keys.c
+++ b/cmd-list-keys.c
@@ -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
};