aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-29 21:10:10 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-29 21:10:10 +0000
commitfaf51d748e6567a74df43ef5bde4c2a02f813433 (patch)
treefaa211302a0fea776016539502b705dd27a9dda0 /tmux.1
parent407f66ccbc10919ba8494abbd2c7b43954da0429 (diff)
downloadrtmux-faf51d748e6567a74df43ef5bde4c2a02f813433.tar.gz
rtmux-faf51d748e6567a74df43ef5bde4c2a02f813433.tar.bz2
rtmux-faf51d748e6567a74df43ef5bde4c2a02f813433.zip
Sync OpenBSD patchset 1079:
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 1c60d9a2..61aa3d68 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2912,12 +2912,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