From c0cfbe12e4089431a2cbc69ba7c6b919cc7d4054 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 22 Mar 2012 11:11:57 +0000 Subject: Accept an argument to show-environment to show one variable, based on a diff from Kazuhiko Sakaguchi. --- tmux.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tmux.1') 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 -- cgit