summaryrefslogtreecommitdiffstats
path: root/cmd-respawn-pane.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-respawn-pane.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-respawn-pane.c')
-rw-r--r--cmd-respawn-pane.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-respawn-pane.c b/cmd-respawn-pane.c
index 4a1ba60b..bff6c11b 100644
--- a/cmd-respawn-pane.c
+++ b/cmd-respawn-pane.c
@@ -37,7 +37,9 @@ const struct cmd_entry cmd_respawn_pane_entry = {
.args = { "kt:", 0, -1 },
.usage = "[-k] " CMD_TARGET_PANE_USAGE " [command]",
- .flags = CMD_PANE_T,
+ .tflag = CMD_PANE,
+
+ .flags = 0,
.exec = cmd_respawn_pane_exec
};