1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Add [template] to display-panes and choose-{buffer,client,tree} usage

OK nicm
This commit is contained in:
kn 2018-11-15 10:38:53 +00:00
parent a67a257033
commit be925c45f1
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cmd-choose-tree.c,v 1.41 2018/02/28 08:55:44 nicm Exp $ */
/* $OpenBSD: cmd-choose-tree.c,v 1.42 2018/11/15 10:38:53 kn Exp $ */
/*
* Copyright (c) 2012 Thomas Adam <thomas@xteddy.org>
@ -32,7 +32,7 @@ const struct cmd_entry cmd_choose_tree_entry = {
.args = { "F:Gf:NO:st:wZ", 0, 1 },
.usage = "[-GNsw] [-F format] [-f filter] [-O sort-order] "
CMD_TARGET_PANE_USAGE,
CMD_TARGET_PANE_USAGE " [template]",
.target = { 't', CMD_FIND_PANE, 0 },
@ -46,7 +46,7 @@ const struct cmd_entry cmd_choose_client_entry = {
.args = { "F:f:NO:t:Z", 0, 1 },
.usage = "[-N] [-F format] [-f filter] [-O sort-order] "
CMD_TARGET_PANE_USAGE,
CMD_TARGET_PANE_USAGE " [template]",
.target = { 't', CMD_FIND_PANE, 0 },
@ -60,7 +60,7 @@ const struct cmd_entry cmd_choose_buffer_entry = {
.args = { "F:f:NO:t:Z", 0, 1 },
.usage = "[-N] [-F format] [-f filter] [-O sort-order] "
CMD_TARGET_PANE_USAGE,
CMD_TARGET_PANE_USAGE " [template]",
.target = { 't', CMD_FIND_PANE, 0 },

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cmd-display-panes.c,v 1.21 2018/08/02 07:55:16 nicm Exp $ */
/* $OpenBSD: cmd-display-panes.c,v 1.22 2018/11/15 10:38:53 kn Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@ -38,7 +38,7 @@ const struct cmd_entry cmd_display_panes_entry = {
.alias = "displayp",
.args = { "d:t:", 0, 1 },
.usage = "[-d duration] " CMD_TARGET_CLIENT_USAGE,
.usage = "[-d duration] " CMD_TARGET_CLIENT_USAGE " [template]",
.flags = CMD_AFTERHOOK,
.exec = cmd_display_panes_exec