summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-04-05 08:40:31 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-06 16:03:39 +0100
commit32340172603f03e55fe21071ede93652e560b29a (patch)
tree6a43d2079315c0c5192381835bd496b729f3177c /tmux.1
parent938ad5a98c2a37938ea726a910e640a2a8aa8d26 (diff)
Add an argument to list-commands to show only a single command.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.17
1 files changed, 5 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 03950c60..c7b40c16 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1036,9 +1036,12 @@ If
is specified, list only clients connected to that session.
.It Xo Ic list-commands
.Op Fl F Ar format
+.Op Ar command
.Xc
.D1 (alias: Ic lscm )
-List the syntax of all commands supported by
+List the syntax of
+.Ar command
+or - if omitted - of all commands supported by
.Nm .
.It Ic list-sessions Op Fl F Ar format
.D1 (alias: Ic ls )
@@ -2710,7 +2713,7 @@ command.
.It Xo Ic list-keys
.Op Fl 1aN
.Op Fl P Ar prefix-string Fl T Ar key-table
-.Op key
+.Op Ar key
.Xc
.D1 (alias: Ic lsk )
List key bindings.