commit | 31a3cea84fe7f1245604abfe0d286b5f2a69801e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Mar 15 11:11:55 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 15 11:14:57 2021 +0100 |
tree | 854b37a79583dc016b1ceaa3841f02e70be585bc | |
parent | b12bc646d5eb1af143837a05bb03341add25af4d [diff] |
MINOR: cfgparse/proxy: also support spelling fixes on options Some are not always easy to spot with "chk" vs "check" or hyphens at some places and not at others. Now entering "option http-close" properly suggests "httpclose" and "option tcp-chk" suggests "tcp-check". There's no need to consider the proxy's capabilities, what matters is to figure what related word the user tried to spell, and there are not that many options anyway.