summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm>2019-03-14 06:36:21 +0000
committernicm <nicm>2019-03-14 06:36:21 +0000
commit1e9f8a3523ac93203036bd4a3740674a91fc4f1c (patch)
tree7abcc3bc2de4a56333ec1a38eea10286cbfe908a
parent2fbd491ff0a6154ead554ae80fac647f7f8cd4f7 (diff)
Missing space in capture-pane usage, from Ben Boeckel.
Also man page fixed from jmc.
-rw-r--r--cmd-capture-pane.c2
-rw-r--r--tmux.17
2 files changed, 5 insertions, 4 deletions
diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c
index dd1576c4..a3ec066c 100644
--- a/cmd-capture-pane.c
+++ b/cmd-capture-pane.c
@@ -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 },
diff --git a/tmux.1 b/tmux.1
index df35d839..49e82643 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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