summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-22 11:11:57 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-22 11:11:57 +0000
commitc0cfbe12e4089431a2cbc69ba7c6b919cc7d4054 (patch)
tree46541dddcd59970905172b6f3239846ff4586384 /tmux.1
parent7c9d003e99eff8d9a935102e47662f681e7629bb (diff)
Accept an argument to show-environment to show one variable, based on a
diff from Kazuhiko Sakaguchi.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.14
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 479c2652..971ba931 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2908,12 +2908,16 @@ new process.
.It Xo Ic show-environment
.Op Fl g
.Op Fl t Ar target-session
+.Op Ar variable
.Xc
.D1 (alias: Ic showenv )
Display the environment for
.Ar target-session
or the global environment with
.Fl g .
+If
+.Ar variable
+is omitted, all variables are shown.
Variables removed from the environment are prefixed with
.Ql - .
.El