summaryrefslogtreecommitdiffstats
path: root/cmd-choose-tree.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-09 16:01:39 +0000
committernicm <nicm>2017-06-09 16:01:39 +0000
commitadcd5aff6fb86036ef736c10b04005da77a465f6 (patch)
tree63044c2a228982fc14a8bc105b28a7ba420f8a64 /cmd-choose-tree.c
parentbab4da51334499d1e3e43ad155f2f8da6ad0eb76 (diff)
Extend filters (f key) to buffer and client mode and add -f flag to
specify to command.
Diffstat (limited to 'cmd-choose-tree.c')
-rw-r--r--cmd-choose-tree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c
index 58fe4dce..873b0286 100644
--- a/cmd-choose-tree.c
+++ b/cmd-choose-tree.c
@@ -30,8 +30,8 @@ const struct cmd_entry cmd_choose_tree_entry = {
.name = "choose-tree",
.alias = NULL,
- .args = { "O:st:w", 0, 1 },
- .usage = "[-sw] [-O sort-order] " CMD_TARGET_PANE_USAGE,
+ .args = { "f:O:st:w", 0, 1 },
+ .usage = "[-sw] [-f filter] [-O sort-order] " CMD_TARGET_PANE_USAGE,
.target = { 't', CMD_FIND_PANE, 0 },
@@ -43,8 +43,8 @@ const struct cmd_entry cmd_choose_client_entry = {
.name = "choose-client",
.alias = NULL,
- .args = { "O:t:", 0, 1 },
- .usage = "[-O sort-order] " CMD_TARGET_PANE_USAGE,
+ .args = { "f:O:t:", 0, 1 },
+ .usage = "[-f filter] [-O sort-order] " CMD_TARGET_PANE_USAGE,
.target = { 't', CMD_FIND_PANE, 0 },
@@ -56,8 +56,8 @@ const struct cmd_entry cmd_choose_buffer_entry = {
.name = "choose-buffer",
.alias = NULL,
- .args = { "O:t:", 0, 1 },
- .usage = "[-O sort-order] " CMD_TARGET_PANE_USAGE,
+ .args = { "f:O:t:", 0, 1 },
+ .usage = "[-f filter] [-O sort-order] " CMD_TARGET_PANE_USAGE,
.target = { 't', CMD_FIND_PANE, 0 },