=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.321 retrieving revision 1.322 diff -u -r1.321 -r1.322 --- src/usr.bin/tmux/tmux.1 2013/03/21 17:42:36 1.321 +++ src/usr.bin/tmux/tmux.1 2013/03/21 18:43:34 1.322 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.321 2013/03/21 17:42:36 jmc Exp $ +.\" $OpenBSD: tmux.1,v 1.322 2013/03/21 18:43:34 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -1036,14 +1036,22 @@ 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