CLEANUP: cli: make "show env" use its own context
authorWilly Tarreau <w@1wt.eu>
Thu, 5 May 2022 15:45:52 +0000 (17:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:36 +0000 (18:13 +0200)
commit307dbb33bbf4df3c590673ca0ddc4186d0b3d924
tree0f1732cc2b10ae6b2e3f5df0b046773bd5bebc6f
parent741a5a9cb4803e1e8e6b56dd2344289aa5f329c1
CLEANUP: cli: make "show env" use its own context

There is the variable to start from (or environ) and an option to stop
after dumping the first one, just like "show fd". Let's have a small
locally-defined context with these two fields.
src/cli.c