diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-09 16:01:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-09 16:01:40 +0000 |
commit | aa0267d08c3f5729cd087a9d942aba5e7be4bd46 (patch) | |
tree | f9e4fae6b3b9808f14afb5e06fb53f06477fb044 /usr.bin/tmux/cmd-choose-tree.c | |
parent | 82cbad81a640d61c60b9f07b8f677511a885285b (diff) |
Extend filters (f key) to buffer and client mode and add -f flag to
specify to command.
Diffstat (limited to 'usr.bin/tmux/cmd-choose-tree.c')
-rw-r--r-- | usr.bin/tmux/cmd-choose-tree.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/tmux/cmd-choose-tree.c b/usr.bin/tmux/cmd-choose-tree.c index a8268ff4fa3..124e51c1235 100644 --- a/usr.bin/tmux/cmd-choose-tree.c +++ b/usr.bin/tmux/cmd-choose-tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-choose-tree.c,v 1.36 2017/06/09 15:29:15 nicm Exp $ */ +/* $OpenBSD: cmd-choose-tree.c,v 1.37 2017/06/09 16:01:39 nicm Exp $ */ /* * Copyright (c) 2012 Thomas Adam <thomas@xteddy.org> @@ -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 }, |