diff options
author | nicm <nicm> | 2015-12-13 21:53:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-13 21:53:57 +0000 |
commit | ecfeee2e8255a77f82a07124c93c8dbc7683c421 (patch) | |
tree | 9203458cd986398219f89c635b0583c8144b6cda /cmd-list-keys.c | |
parent | 899bee0056b2d90b1c40c800473014b458ebd63d (diff) | |
download | rtmux-ecfeee2e8255a77f82a07124c93c8dbc7683c421.tar.gz rtmux-ecfeee2e8255a77f82a07124c93c8dbc7683c421.tar.bz2 rtmux-ecfeee2e8255a77f82a07124c93c8dbc7683c421.zip |
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'cmd-list-keys.c')
-rw-r--r-- | cmd-list-keys.c | 26 |
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 |