diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-09 15:29:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-09 15:29:16 +0000 |
commit | dbee168d3fb1e397c98c67ea82aaa1a28302fb5e (patch) | |
tree | 78e89727f38b975f7c6c3c6d506e6de798ff2009 /usr.bin/tmux/cmd-choose-tree.c | |
parent | 7e0c43d306a3031179bf4d937c4852f496080dfd (diff) |
Add -O option to choose-* to set initial sort order.
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 354fa910f87..a8268ff4fa3 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.35 2017/05/30 21:44:59 nicm Exp $ */ +/* $OpenBSD: cmd-choose-tree.c,v 1.36 2017/06/09 15:29:15 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 = { "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 }, |