summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-03-28 23:13:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-03-28 23:13:00 +0000
commitf19a4bf9d1af2f512b841ca9dabdf81592e0f4ea (patch)
tree09529a3f2f5a5811f95fbf1c408302b1404b3121 /tmux.1
parent82e0165c49b85ab95663d677fc7d0249b2a4efae (diff)
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.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.130
1 files changed, 25 insertions, 5 deletions
diff --git a/tmux.1 b/tmux.1
index bbd8a80e..939a4333 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1115,13 +1115,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