From 108fb38cbc23fe2be642dc2acc62d7d4e059b01a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 6 Apr 2011 22:20:16 +0000 Subject: |PatchSet 875 |Date: 2011/03/29 00:13:00 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add -a and -s options to lsp to list all panes in the server or session |respectively. Likewise add -s to lsw. From Ben Boeckel. --- tmux.1 | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index ae7d96c2..0afe7d81 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.298 2011-04-06 22:19:42 nicm Exp $ +.\" $Id: tmux.1,v 1.299 2011-04-06 22:20:16 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -1119,13 +1119,33 @@ exists, it is killed, otherwise an error is generated. If .Fl d is given, the newly linked window is not selected. -.It Ic list-panes Op Fl t Ar target-window +.It Xo Ic list-panes +.Op Fl as +.Op Fl t Ar target +.Xc .D1 (alias: Ic lsp ) -List the panes in the current window or in -.Ar target-window . -.It Ic list-windows Op Fl t Ar target-session +If +.Fl a +is given, +.Ar target +is ignored and all panes on the server are listed. +If +.Fl s +is given, +.Ar target +is a session (or the current session). +If neither is given, +.Ar target +is a window (or the current window). +.It Xo Ic list-windows +.Op Fl a +.Op Fl t Ar target-session +.Xc .D1 (alias: Ic lsw ) -List windows in the current session or in +If +.Fl a +is given, list all windows on the server. +Otherwise, list windows in the current session or in .Ar target-session . .It Xo Ic move-window .Op Fl dk -- cgit