diff options
author | nicm <nicm> | 2015-12-14 00:31:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-14 00:31:54 +0000 |
commit | a3129fd4e820d7ccb3797fed491e7c021b63c568 (patch) | |
tree | 2670410ce357adf7dee1ace4f33d88f034b2ec12 /cmd-clear-history.c | |
parent | ecfeee2e8255a77f82a07124c93c8dbc7683c421 (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-clear-history.c')
-rw-r--r-- | cmd-clear-history.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-clear-history.c b/cmd-clear-history.c index a8c2bfdc..1236e7f1 100644 --- a/cmd-clear-history.c +++ b/cmd-clear-history.c @@ -33,7 +33,9 @@ const struct cmd_entry cmd_clear_history_entry = { .args = { "t:", 0, 0 }, .usage = CMD_TARGET_PANE_USAGE, - .flags = CMD_PANE_T, + .tflag = CMD_PANE, + + .flags = 0, .exec = cmd_clear_history_exec }; |