aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2015-06-04 14:29:33 +0000
committernicm <nicm>2015-06-04 14:29:33 +0000
commit4a6c06d6a981d05c5ab3dbc7a365ff740fbb7feb (patch)
treee6cc87952f20905e67dc951a03b8994ca22597ac /tmux.1
parenta863834574ec02b87ff0e7245ef31f0d4543ab34 (diff)
downloadrtmux-4a6c06d6a981d05c5ab3dbc7a365ff740fbb7feb.tar.gz
rtmux-4a6c06d6a981d05c5ab3dbc7a365ff740fbb7feb.tar.bz2
rtmux-4a6c06d6a981d05c5ab3dbc7a365ff740fbb7feb.zip
Make unsetting a global option restore it to the default. Diff lying
around for a while, I have forgotten who suggested it :-/.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 5 insertions, 7 deletions
diff --git a/tmux.1 b/tmux.1
index 015e5ee7..e479afbe 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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