Sync OpenBSD patchset 1063:

Add -q option to set-option to turn off info message, from marcel partap.
This commit is contained in:
Tiago Cunha
2012-03-18 02:09:51 +00:00
parent be4d77e60f
commit 68ba5377e3
2 changed files with 20 additions and 10 deletions

13
tmux.1
View File

@ -1792,7 +1792,7 @@ command.
Commands which set options are as follows:
.Bl -tag -width Ds
.It Xo Ic set-option
.Op Fl agsuw
.Op Fl agqsuw
.Op Fl t Ar target-session | Ar target-window
.Ar option Ar value
.Xc
@ -1820,6 +1820,12 @@ flag unsets an option, so a session inherits the option from the global
options.
It is not possible to unset a global option.
.Pp
The
.Fl q
flag suppresses the informational message (as if the
.Ic quiet
server option was set).
.Pp
Available window options are listed under
.Ic set-window-option .
.Pp
@ -2385,7 +2391,7 @@ The default is
.Ql \ -_@ .
.El
.It Xo Ic set-window-option
.Op Fl agu
.Op Fl agqu
.Op Fl t Ar target-window
.Ar option Ar value
.Xc
@ -2393,7 +2399,8 @@ The default is
Set a window option.
The
.Fl a ,
.Fl g
.Fl g ,
.Fl q
and
.Fl u
flags work similarly to the