]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cli: make the prompt mode configurable between n/i/p
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 16:36:57 +0000 (18:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 18:21:06 +0000 (20:21 +0200)
commite5c255c4e59abb6ba898a623a078d4106fdc9c91
tree5d4fa5d514b5d221beccabf43da79b52660df9cb
parentf25b4abc9bc561cb963a9eb34e8f089218002bf8
MEDIUM: cli: make the prompt mode configurable between n/i/p

Now the prompt mode can more finely be configured between non-interactive
(default), interactive without prompt, and interactive with prompt. This
will ease the usage from automated tools which are not necessarily
interested in having to consume '> ' after each command nor displaying
"+" on payload lines. This can also be convenient when coming from the
master CLI to keep the same output format.
doc/management.txt
src/cli.c