summaryrefslogtreecommitdiffstats
path: root/cmd-list-panes.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-list-panes.c
parent899bee0056b2d90b1c40c800473014b458ebd63d (diff)
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r--cmd-list-panes.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c
index 2c9fa623..9f675b76 100644
--- a/cmd-list-panes.c
+++ b/cmd-list-panes.c
@@ -35,11 +35,14 @@ void cmd_list_panes_window(struct cmd *, struct session *, struct winlink *,
struct cmd_q *, int);
const struct cmd_entry cmd_list_panes_entry = {
- "list-panes", "lsp",
- "asF:t:", 0, 0,
- "[-as] [-F format] " CMD_TARGET_WINDOW_USAGE,
- CMD_WINDOW_T,
- cmd_list_panes_exec
+ .name = "list-panes",
+ .alias = "lsp",
+
+ .args = { "asF:t:", 0, 0 },
+ .usage = "[-as] [-F format] " CMD_TARGET_WINDOW_USAGE,
+
+ .flags = CMD_WINDOW_T,
+ .exec = cmd_list_panes_exec
};
enum cmd_retval