From 12ef3ceda13f9ae4c77384f98e6f145322971e69 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 4 Aug 2009 18:45:57 +0000 Subject: Add a -a flag to set-option and set-window-option to append to an existing string value, useful for terminal-overrides. --- tmux.1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 15c21486..8264c73f 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1021,12 +1021,17 @@ command. Commands which set options are as follows: .Bl -tag -width Ds .It Xo Ic set-option -.Op Fl gu +.Op Fl agu .Op Fl t Ar target-session .Ar option Ar value .Xc .D1 (alias: Ic set ) Set a session option. +With +.Fl a , +and if the option expects a string, +.Ar value +is appended to the existing setting. If .Fl g is specified, the global session option is set. @@ -1310,13 +1315,14 @@ for which the window option is enabled. .El .It Xo Ic set-window-option -.Op Fl gu +.Op Fl agu .Op Fl t Ar target-window .Ar option Ar value .Xc .D1 (alias: Ic setw ) Set a window option. The +.Fl a , .Fl g and .Fl u -- cgit