From 1d591ada76c049343feab503863cc57308bb1280 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 15 Feb 2013 09:31:45 +0000 Subject: Support capture-pane -p to send to stdout. --- tmux.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tmux.1') 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 -- cgit