]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: anon: clarify the help message on "debug dev hash"
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Nov 2022 16:47:08 +0000 (17:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Nov 2022 16:58:00 +0000 (17:58 +0100)
commit50dd7e95c8c9c20994d2d6b64c3ab25177aa095e
treeefde45951ef597f3a5d1e0ee05a4c20d20a83136
parentb82296c10e9a0bf8021a977a939d1073110e15ef
CLEANUP: anon: clarify the help message on "debug dev hash"

This command is used to hash a section name using the current anon key,
it was brought in 2.7 by commit 54966dffd ("MINOR: anon: store the
anonymizing key in the CLI's appctx"). However the help message only
says "return msg hashed" which is misleading because if anon mode is
not enabled, it returns the string as-is. Let's just mention this
condition in the help message, and also fix the alphabetical ordering
and alignment on the line.
src/debug.c