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

Missing space in capture-pane usage, from Ben Boeckel.

Also man page fixed from jmc.
This commit is contained in:
nicm 2019-03-14 06:36:21 +00:00
parent edcf3982bf
commit 85d5a2d13c
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cmd-capture-pane.c,v 1.46 2019/03/12 11:16:49 nicm Exp $ */
/* $OpenBSD: cmd-capture-pane.c,v 1.47 2019/03/14 06:36:21 nicm Exp $ */
/*
* Copyright (c) 2009 Jonathan Alvarado <radobobo@users.sourceforge.net>
@ -41,7 +41,7 @@ const struct cmd_entry cmd_capture_pane_entry = {
.args = { "ab:CeE:JpPqS:t:", 0, 0 },
.usage = "[-aCeJpPq] " CMD_BUFFER_USAGE " [-E end-line] "
"[-S start-line]" CMD_TARGET_PANE_USAGE,
"[-S start-line] " CMD_TARGET_PANE_USAGE,
.target = { 't', CMD_FIND_PANE, 0 },

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: tmux.1,v 1.618 2019/03/13 15:37:28 nicm Exp $
.\" $OpenBSD: tmux.1,v 1.619 2019/03/14 06:36:21 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: March 13 2019 $
.Dd $Mdocdate: March 14 2019 $
.Dt TMUX 1
.Os
.Sh NAME
@ -3724,9 +3724,10 @@ option rather than the content itself.
or
.Ql P:
will loop over each session, window or pane and insert the format once
for each. For windows and panes, two comma-separated formats may be
given, the second is used for the current window or active pane. For
example to get a list of windows formatted like the status line:
for each.
For windows and panes, two comma-separated formats may be given:
the second is used for the current window or active pane.
For example, to get a list of windows formatted like the status line:
.Bd -literal -offset indent
#{W:#{E:window-status-format} ,#{E:window-status-current-format} }
.Ed