summaryrefslogtreecommitdiffstats
path: root/cmd-choose-tree.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-09 15:29:15 +0000
committernicm <nicm>2017-06-09 15:29:15 +0000
commitbab4da51334499d1e3e43ad155f2f8da6ad0eb76 (patch)
tree83d04410966d3d4cecb6fe92680faec723245087 /cmd-choose-tree.c
parent3ec28ceb9bc4f4f3c186d8006b3ab0c776714fa5 (diff)
Add -O option to choose-* to set initial sort order.
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 f8f24f12..58fe4dce 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 = { "st:w", 0, 1 },
- .usage = "[-sw] " CMD_TARGET_PANE_USAGE,
+ .args = { "O:st:w", 0, 1 },
+ .usage = "[-sw] [-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 = { "t:", 0, 1 },
- .usage = CMD_TARGET_PANE_USAGE,
+ .args = { "O:t:", 0, 1 },
+ .usage = "[-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 = { "t:", 0, 1 },
- .usage = CMD_TARGET_PANE_USAGE,
+ .args = { "O:t:", 0, 1 },
+ .usage = "[-O sort-order] " CMD_TARGET_PANE_USAGE,
.target = { 't', CMD_FIND_PANE, 0 },