commit | d90582600005305284798518ea335e6031bd506c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 30 11:21:32 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 30 11:21:32 2022 +0200 |
tree | a0f3e3c37f3f4d6675bd86e3bc40985890465cbc | |
parent | 2100b383ab849ae88090909b1654afdf87aa7885 [diff] |
MINOR: config: alphanumerically sort config keywords output The output produced by dump_registered_keywords() really deserves to be sorted in order to ease comparisons. The function now implements a tiny sorting mechanism that's suitable for each two-level list, and makes use of dump_act_rules() to dump rulesets. The code is not significantly more complicated and some parts (e.g options) could even be factored. The output is much more exploitable to detect differences now.