Allow a single option to be specified to show-options to show just that

option.
This commit is contained in:
Nicholas Marriott
2012-02-25 12:57:42 +00:00
parent aaf0bfccf4
commit 4e7de210e4
5 changed files with 70 additions and 45 deletions

6
tmux.1
View File

@@ -2622,9 +2622,10 @@ The default is off.
.It Xo Ic show-options
.Op Fl gsw
.Op Fl t Ar target-session | Ar target-window
.Op Ar option
.Xc
.D1 (alias: Ic show )
Show the window options with
Show the window options (or a single window option if given) with
.Fl w
(equivalent to
.Ic show-window-options ) ,
@@ -2638,9 +2639,10 @@ is used.
.It Xo Ic show-window-options
.Op Fl g
.Op Fl t Ar target-window
.Op Ar option
.Xc
.D1 (alias: Ic showw )
List the window options for
List the window options or a single option for
.Ar target-window ,
or the global window options if
.Fl g