aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-15 09:31:45 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-15 09:31:45 +0000
commit1d591ada76c049343feab503863cc57308bb1280 (patch)
tree1f27513b12afaaccabec511ba34755579cc11864 /tmux.1
parent2bdc59fac8aef9df6ef53a13e59221153619770d (diff)
downloadrtmux-1d591ada76c049343feab503863cc57308bb1280.tar.gz
rtmux-1d591ada76c049343feab503863cc57308bb1280.tar.bz2
rtmux-1d591ada76c049343feab503863cc57308bb1280.zip
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 efb44374..15f93dd1 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1040,14 +1040,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