]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: apply the fuzzy matching on the whole command instead of words
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Mar 2021 18:01:59 +0000 (19:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Mar 2021 18:09:19 +0000 (19:09 +0100)
commitc57dcfe787a6cd73040e9b9a97f6701ebdbe1e3a
treef1677beebe37885525266a3087c5ebf985784ab7
parente33c4b3c11f80a1252fbb17e0a3147d74888b61d
MINOR: cli: apply the fuzzy matching on the whole command instead of words

Now instead of comparing words at an exact position, we build a fingerprint
made of all of them, so that we can check for them in any position. For
example, "show conn serv" finds "show servers conn" and that "set servers
maxconn" proposes both "set server" and "set maxconn servers".
src/cli.c