aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
commit5caec3020d32596f3ecf3dea68639da18690992d (patch)
treeda0cde36d73215aa603d1897279aa9431f403d06 /cmd-list-keys.c
parentf4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff)
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
downloadrtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-list-keys.c')
-rw-r--r--cmd-list-keys.c26
1 files changed, 16 insertions, 10 deletions
diff --git a/cmd-list-keys.c b/cmd-list-keys.c
index f0a59c0b..08796e5d 100644
--- a/cmd-list-keys.c
+++ b/cmd-list-keys.c
@@ -33,19 +33,25 @@ enum cmd_retval cmd_list_keys_table(struct cmd *, struct cmd_q *);
enum cmd_retval cmd_list_keys_commands(struct cmd_q *);
const struct cmd_entry cmd_list_keys_entry = {
- "list-keys", "lsk",
- "t:T:", 0, 0,
- "[-t mode-table] [-T key-table]",
- 0,
- cmd_list_keys_exec
+ .name = "list-keys",
+ .alias = "lsk",
+
+ .args = { "t:T:", 0, 0 },
+ .usage = "[-t mode-table] [-T key-table]",
+
+ .flags = 0,
+ .exec = cmd_list_keys_exec
};
const struct cmd_entry cmd_list_commands_entry = {
- "list-commands", "lscm",
- "", 0, 0,
- "",
- 0,
- cmd_list_keys_exec
+ .name = "list-commands",
+ .alias = "lscm",
+
+ .args = { "", 0, 0 },
+ .usage = "",
+
+ .flags = 0,
+ .exec = cmd_list_keys_exec
};
enum cmd_retval