From a8e3e989dd6aba29033084662efdad8c71b86ca3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 16 Jun 2008 06:33:50 +0000 Subject: Document show-options. --- tmux.1 | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 55474806..b05a9d71 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.33 2008-06-15 08:01:54 nicm Exp $ +.\" $Id: tmux.1,v 1.34 2008-06-16 06:33:50 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -477,11 +477,16 @@ All arguments are sent sequentially from first to last. .Xc Send the prefix key to a window as if it was pressed. .It Xo Ic set-option -.Op Fl t Ar target-window +.Op Fl t Ar target-session .Ar option Ar value .Xc .D1 (alias: Ic set ) Set an option. +If +.Ar target-session +is specified, the option is set for that session; otherwise, the global option +is set. +A global option is used by all sessions which lack an option overriding it. Possible options are: .Bl -tag -width Ds .It Xo Ic bell-action @@ -528,6 +533,16 @@ or .It Ic status-fg Ar colour Set status line foreground colour. .El +.It Xo Ic show-options +.Op Fl t Ar target-session +.Ar option Ar value +.Xc +.D1 (alias: Ic show ) +Show the currently set options. +If a +.Ar target-session +is specified, the options for that session are shown; otherwise, the global +options are listed. .It Xo Ic start-server .Xc Start the -- cgit