From 5b9211d827dec53c8a90f35846ff52d663d4c0d1 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 18 Apr 2019 12:22:07 +0000 Subject: Copy the code to infer the option type to show-options and document it. --- tmux.1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tmux.1') 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. -- cgit