]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mcli: make the prompt mode configurable between i/p
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 16:51:47 +0000 (18:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 18:21:06 +0000 (20:21 +0200)
commitc347cb73fa77392802130716664962fbb116e62f
tree820878e5c8133f3abe8223836a1249a5f49e6975
parente5c255c4e59abb6ba898a623a078d4106fdc9c91
MEDIUM: mcli: make the prompt mode configurable between i/p

Support the same syntax in master mode as in worker mode in order to
configure the prompt. The only thing is that for now the master doesn't
have a non-interactive mode and it doesn't seem necessary to implement
it, so we only support the interactive and prompt modes. However the code
was written in a way that makes it easy to change this later if desired.
doc/management.txt
src/cli.c