MINOR: cli: add a new "show env" command
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Feb 2016 10:27:28 +0000 (11:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Feb 2016 10:43:03 +0000 (11:43 +0100)
commitae79572f89969a19f9f04063e0d4c97b0381f549
treeeee6736bbe083de3c7211c10b3968683ece6eb9d
parent06c809992230d665b6af79fb1c1f2e5e9fc7c35b
MINOR: cli: add a new "show env" command

Using environment variables in configuration files can make troubleshooting
complicated because there's no easy way to verify that the variables are
correct. This patch introduces a new "show env" command which displays the
whole environment on the CLI, one variable per line.

The socket must at least have level operator to display the environment.
doc/management.txt
include/types/applet.h
src/dumpstats.c