summaryrefslogtreecommitdiffstats
path: root/cmd-list-panes.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-14 00:31:54 +0000
committernicm <nicm>2015-12-14 00:31:54 +0000
commita3129fd4e820d7ccb3797fed491e7c021b63c568 (patch)
tree2670410ce357adf7dee1ace4f33d88f034b2ec12 /cmd-list-panes.c
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r--cmd-list-panes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c
index 9f675b76..da0e0962 100644
--- a/cmd-list-panes.c
+++ b/cmd-list-panes.c
@@ -41,7 +41,9 @@ const struct cmd_entry cmd_list_panes_entry = {
.args = { "asF:t:", 0, 0 },
.usage = "[-as] [-F format] " CMD_TARGET_WINDOW_USAGE,
- .flags = CMD_WINDOW_T,
+ .tflag = CMD_WINDOW,
+
+ .flags = 0,
.exec = cmd_list_panes_exec
};