summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-21 18:43:34 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-21 18:43:34 +0000
commit78543cce30245c3450adc31c8787373c5ca93e38 (patch)
treec8aa1fbd6fb01063c28b7d0c1af2a748c240eaaf /tmux.1
parent55bf2ecc68ad7ab5763def321669375764b3983a (diff)
Support capture-pane -p to send to stdout.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 10 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 122038ea..72001997 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1036,14 +1036,22 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.It Xo Ic capture-pane
+.Op Fl p
.Op Fl b Ar buffer-index
+.Op Fl c Ar target-client
.Op Fl E Ar end-line
.Op Fl S Ar start-line
.Op Fl t Ar target-pane
.Xc
.D1 (alias: Ic capturep )
-Capture the contents of a pane to the specified buffer, or a new buffer if none
-is specified.
+Capture the contents of a pane.
+If
+.Fl p
+is given, the output goes to
+.Ar target-client
+stdout, otherwise to the buffer specified with
+.Fl b
+or a new buffer if omitted.
.Pp
.Fl S
and