Add a -o option to set-option to prevent setting an option already set, from

Thiago Padilha.
This commit is contained in:
Nicholas Marriott
2013-02-23 23:21:22 +00:00
parent 69a8d64716
commit be13479f09
2 changed files with 20 additions and 6 deletions

6
tmux.1
View File

@ -1996,7 +1996,7 @@ abc123
Commands which set options are as follows:
.Bl -tag -width Ds
.It Xo Ic set-option
.Op Fl agqsuw
.Op Fl agoqsuw
.Op Fl t Ar target-session | Ar target-window
.Ar option Ar value
.Xc
@ -2025,6 +2025,10 @@ options.
It is not possible to unset a global option.
.Pp
The
.Fl o
flag prevents setting an option that is already set.
.Pp
The
.Fl q
flag suppresses the informational message (as if the
.Ic quiet