summaryrefslogtreecommitdiffstats
path: root/cmd-unbind-key.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-13 21:53:57 +0000
committernicm <nicm>2015-12-13 21:53:57 +0000
commitecfeee2e8255a77f82a07124c93c8dbc7683c421 (patch)
tree9203458cd986398219f89c635b0583c8144b6cda /cmd-unbind-key.c
parent899bee0056b2d90b1c40c800473014b458ebd63d (diff)
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'cmd-unbind-key.c')
-rw-r--r--cmd-unbind-key.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-unbind-key.c b/cmd-unbind-key.c
index 66a4525e..8e89f21a 100644
--- a/cmd-unbind-key.c
+++ b/cmd-unbind-key.c
@@ -31,11 +31,14 @@ enum cmd_retval cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *,
key_code);
const struct cmd_entry cmd_unbind_key_entry = {
- "unbind-key", "unbind",
- "acnt:T:", 0, 1,
- "[-acn] [-t mode-table] [-T key-table] key",
- 0,
- cmd_unbind_key_exec
+ .name = "unbind-key",
+ .alias = "unbind",
+
+ .args = { "acnt:T:", 0, 1 },
+ .usage = "[-acn] [-t mode-table] [-T key-table] key",
+
+ .flags = 0,
+ .exec = cmd_unbind_key_exec
};
enum cmd_retval