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-respawn-window.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-respawn-window.c')
-rw-r--r-- | cmd-respawn-window.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c index f6550dee..2b2a674f 100644 --- a/cmd-respawn-window.c +++ b/cmd-respawn-window.c @@ -30,11 +30,14 @@ enum cmd_retval cmd_respawn_window_exec(struct cmd *, struct cmd_q *); const struct cmd_entry cmd_respawn_window_entry = { - "respawn-window", "respawnw", - "kt:", 0, -1, - "[-k] " CMD_TARGET_WINDOW_USAGE " [command]", - CMD_WINDOW_T, - cmd_respawn_window_exec + .name = "respawn-window", + .alias = "respawnw", + + .args = { "kt:", 0, -1 }, + .usage = "[-k] " CMD_TARGET_WINDOW_USAGE " [command]", + + .flags = CMD_WINDOW_T, + .exec = cmd_respawn_window_exec }; enum cmd_retval |