diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-12-13 21:53:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-12-13 21:53:58 +0000 |
commit | b6963b0c60cfb681b75de82ba3a20f950f4e7ea6 (patch) | |
tree | 46af6a3189c247c9d776e54ff1cdd580241e5c63 /usr.bin/tmux/cmd-kill-pane.c | |
parent | 617a01beaf1c1a39a678cf2edc5d01ab1baae1fe (diff) |
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'usr.bin/tmux/cmd-kill-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-kill-pane.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-kill-pane.c b/usr.bin/tmux/cmd-kill-pane.c index 3d0d721cfce..67cc9cc7983 100644 --- a/usr.bin/tmux/cmd-kill-pane.c +++ b/usr.bin/tmux/cmd-kill-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-kill-pane.c,v 1.17 2015/12/13 14:32:38 nicm Exp $ */ +/* $OpenBSD: cmd-kill-pane.c,v 1.18 2015/12/13 21:53:57 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -29,11 +29,14 @@ enum cmd_retval cmd_kill_pane_exec(struct cmd *, struct cmd_q *); const struct cmd_entry cmd_kill_pane_entry = { - "kill-pane", "killp", - "at:", 0, 0, - "[-a] " CMD_TARGET_PANE_USAGE, - CMD_PANE_T, - cmd_kill_pane_exec + .name = "kill-pane", + .alias = "killp", + + .args = { "at:", 0, 0 }, + .usage = "[-a] " CMD_TARGET_PANE_USAGE, + + .flags = CMD_PANE_T, + .exec = cmd_kill_pane_exec }; enum cmd_retval |