summaryrefslogtreecommitdiffstats
path: root/cmd-if-shell.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-if-shell.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-if-shell.c')
-rw-r--r--cmd-if-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 4c2cacb1..229289cd 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -43,7 +43,9 @@ const struct cmd_entry cmd_if_shell_entry = {
.usage = "[-bF] " CMD_TARGET_PANE_USAGE " shell-command command "
"[command]",
- .flags = CMD_PANE_T|CMD_CANFAIL,
+ .tflag = CMD_PANE_CANFAIL,
+
+ .flags = 0,
.exec = cmd_if_shell_exec
};