Add an argument to list-commands to show only a single command.

This commit is contained in:
nicm
2020-04-05 08:40:31 +00:00
parent 832b8a8cf5
commit fccce69cf0
2 changed files with 16 additions and 5 deletions

7
tmux.1
View File

@ -1048,9 +1048,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 )
@ -2731,7 +2734,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.