From 3e14e7c48b3e6c348a9abe7b867394449b397d86 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 9 Apr 2025 06:51:31 +0000 Subject: [PATCH] Formats can use environment variables, from David Mandelberg. --- tmux.1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tmux.1 b/tmux.1 index 33410173..2e4cbaa5 100644 --- a/tmux.1 +++ b/tmux.1 @@ -23,7 +23,7 @@ .Sh SYNOPSIS .Nm tmux .Bk -words -.Op Fl 2CDlNuVv +.Op Fl 2CDhlNuVv .Op Fl c Ar shell-command .Op Fl f Ar file .Op Fl L Ar socket-name @@ -154,6 +154,8 @@ command may be used to load a file later. .Nm shows any error messages from commands in configuration files in the first session created, and continues to process the rest of the configuration file. +.It Fl h +Print usage information and exit. .It Fl L Ar socket-name .Nm stores the server socket in a directory under @@ -5576,7 +5578,8 @@ for example .Ql #{session_name} . The possible variables are listed in the table below, or the name of a .Nm -option may be used for an option's value. +option may be used for an option's value, or the name of an environment +variable. Some variables have a shorter alias such as .Ql #S ; .Ql ## @@ -6384,7 +6387,7 @@ Commands to alter and view the environment are: .It Xo Ic set-environment .Op Fl Fhgru .Op Fl t Ar target-session -.Ar name Op Ar value +.Ar variable Op Ar value .Xc .D1 Pq alias: Ic setenv Set or unset an environment variable.