aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-04-18 12:22:07 +0000
committernicm <nicm>2019-04-18 12:22:07 +0000
commit5b9211d827dec53c8a90f35846ff52d663d4c0d1 (patch)
treee535e2d85d8cb741c9b835ecef921efc0ba80723 /tmux.1
parent3f189945d8838f98920a6d24a838bc8614ace636 (diff)
downloadrtmux-5b9211d827dec53c8a90f35846ff52d663d4c0d1.tar.gz
rtmux-5b9211d827dec53c8a90f35846ff52d663d4c0d1.tar.bz2
rtmux-5b9211d827dec53c8a90f35846ff52d663d4c0d1.zip
Copy the code to infer the option type to show-options and document it.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.117
1 files changed, 17 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 28fa5fbc..73fb4865 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2488,9 +2488,17 @@ command),
a server option with
.Fl s ,
otherwise a session option.
+If the option is not a user option,
+.Fl w
+and
+.Fl s
+are unnecessary -
+.Nm
+will infer the type from the option name.
If
.Fl g
is given, the global session or window option is set.
+.Pp
.Fl F
expands formats in the option value.
The
@@ -3384,6 +3392,15 @@ the server options with
.Fl s ,
otherwise the session options for
.Ar target session .
+If
+.Ar option
+is given and is not a user option,
+.Fl w
+and
+.Fl s
+are unnecessary -
+.Nm
+will infer the type from the option name.
Global session or window options are listed if
.Fl g
is used.