summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-wait-for.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-12-13 21:53:57 +0000
committernicm <nicm@openbsd.org>2015-12-13 21:53:57 +0000
commitc057646b0dae17915fcb431f61cfee0683267f35 (patch)
tree650e02d9861e7c56130c102355831ab1abf19331 /usr.bin/tmux/cmd-wait-for.c
parentSort button defines. (diff)
downloadwireguard-openbsd-c057646b0dae17915fcb431f61cfee0683267f35.tar.xz
wireguard-openbsd-c057646b0dae17915fcb431f61cfee0683267f35.zip
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'usr.bin/tmux/cmd-wait-for.c')
-rw-r--r--usr.bin/tmux/cmd-wait-for.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-wait-for.c b/usr.bin/tmux/cmd-wait-for.c
index 8dd7a906d9f..fd471d1b65d 100644
--- a/usr.bin/tmux/cmd-wait-for.c
+++ b/usr.bin/tmux/cmd-wait-for.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-wait-for.c,v 1.11 2015/11/18 14:27:44 nicm Exp $ */
+/* $OpenBSD: cmd-wait-for.c,v 1.12 2015/12/13 21:53:57 nicm Exp $ */
/*
* Copyright (c) 2013 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 {