diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-12-03 17:44:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-12-03 17:44:02 +0000 |
commit | 6c9862662fd2cccdc55be9d447a27b10f33ed8ea (patch) | |
tree | dc4e67793ad8556b91448ab61599bdb5e78c3e41 /tmux.1 | |
parent | 6bbc92a6f5799f0c3d9ce4fc8c10c161598757be (diff) | |
download | rtmux-6c9862662fd2cccdc55be9d447a27b10f33ed8ea.tar.gz rtmux-6c9862662fd2cccdc55be9d447a27b10f33ed8ea.tar.bz2 rtmux-6c9862662fd2cccdc55be9d447a27b10f33ed8ea.zip |
Eliminate duplicate code and ease the passage for server-wide options by adding
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.
Note: setw and showw are still there, but now aliases for set -w and show -w.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -1230,8 +1230,8 @@ command. Commands which set options are as follows: .Bl -tag -width Ds .It Xo Ic set-option -.Op Fl agu -.Op Fl t Ar target-session +.Op Fl aguw +.Op Fl t Ar target-session | Ar target-window .Ar option Ar value .Xc .D1 (alias: Ic set ) @@ -1249,6 +1249,13 @@ The flag unsets an option, so a session inherits the option from the global options - it is not possible to unset a global option. .Pp +With +.Fl w , +this command is equivalent to +.Ic set-window-option +with +.Ar target-window . +.Pp Available session options are: .Bl -tag -width Ds .It Ic base-index Ar index @@ -1831,14 +1838,21 @@ as Shift, Alt or Ctrl. The default is off. .El .It Xo Ic show-options -.Op Fl g -.Op Fl t Ar target-session +.Op Fl gw +.Op Fl t Ar target-session | Ar target-window .Xc .D1 (alias: Ic show ) Show the session options for .Ar target session , or the global session options with .Fl g . +.Pp +If +.Fl w +is used, this command is equivalent to +.Ic show-window-options +with +.Ar target-window . .It Xo Ic show-window-options .Op Fl g .Op Fl t Ar target-window |