summaryrefslogtreecommitdiffstats
path: root/cmd-wait-for.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-wait-for.c
parent899bee0056b2d90b1c40c800473014b458ebd63d (diff)
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'cmd-wait-for.c')
-rw-r--r--cmd-wait-for.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-wait-for.c b/cmd-wait-for.c
index 04316d5e..59f7dbfb 100644
--- a/cmd-wait-for.c
+++ b/cmd-wait-for.c
@@ -31,11 +31,14 @@
enum cmd_retval cmd_wait_for_exec(struct cmd *, struct cmd_q *);
const struct cmd_entry cmd_wait_for_entry = {
- "wait-for", "wait",
- "LSU", 1, 1,
- "[-L|-S|-U] channel",
- 0,
- cmd_wait_for_exec
+ .name = "wait-for",
+ .alias = "wait",
+
+ .args = { "LSU", 1, 1 },
+ .usage = "[-L|-S|-U] channel",
+
+ .flags = 0,
+ .exec = cmd_wait_for_exec
};
struct wait_channel {