Allow list-keys and list-commands to be run without a running server.

This commit is contained in:
nicm 2015-12-15 00:52:17 +00:00
parent 6f417ec943
commit 9d88d82d5e

View File

@ -39,7 +39,7 @@ const struct cmd_entry cmd_list_keys_entry = {
.args = { "t:T:", 0, 0 }, .args = { "t:T:", 0, 0 },
.usage = "[-t mode-table] [-T key-table]", .usage = "[-t mode-table] [-T key-table]",
.flags = 0, .flags = CMD_STARTSERVER,
.exec = cmd_list_keys_exec .exec = cmd_list_keys_exec
}; };
@ -50,7 +50,7 @@ const struct cmd_entry cmd_list_commands_entry = {
.args = { "", 0, 0 }, .args = { "", 0, 0 },
.usage = "", .usage = "",
.flags = 0, .flags = CMD_STARTSERVER,
.exec = cmd_list_keys_exec .exec = cmd_list_keys_exec
}; };