]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: add a new keyword dump function
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Mar 2022 13:25:30 +0000 (15:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Mar 2022 16:01:37 +0000 (18:01 +0200)
commit06d0e2e034632df92a3a67318185a96fdb381f1c
tree99bd0c4aa78fda354416646c9dfc9d3465c4097e
parent5fcc100d911327f2c81befa8e082f70c6b2db34a
MINOR: cli: add a new keyword dump function

New function cli_list_keywords() scans the list of registered CLI keywords
and dumps them on stdout. It's now called from dump_registered_keywords()
for the class "cli".

Some keywords are valid for the master, they'll be suffixed with
"[MASTER]". Others are valid for the worker, they'll have "[WORKER]".
Those accessible only in expert mode will show "[EXPERT]" and the
experimental ones will show "[EXPERIM]".
include/haproxy/cli.h
src/cli.c
src/haproxy.c