Make unsetting a global option restore it to the default. Diff lying

around for a while, I have forgotten who suggested it :-/.
This commit is contained in:
nicm
2015-06-04 14:29:33 +00:00
parent a863834574
commit 4a6c06d6a9
2 changed files with 19 additions and 12 deletions

12
tmux.1
View File

@ -2273,21 +2273,19 @@ command),
a server option with
.Fl s ,
otherwise a session option.
.Pp
If
.Fl g
is specified, the global session or window option is set.
is given, the global session or window option is set.
The
.Fl u
flag unsets an option, so a session inherits the option from the global
options.
It is not possible to unset a global option.
options (or with
.Fl g ,
restores a global option to the default).
.Pp
The
.Fl o
flag prevents setting an option that is already set.
.Pp
The
flag prevents setting an option that is already set and
.Fl q
flag suppresses errors about unknown options.
.Pp