From ecb901ff6c573837bc96e92b5c0a74eb96b11a12 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 30 Apr 2026 15:11:28 +0200 Subject: [PATCH] CLEANUP: map/cli: fix some map-related help messages Some CLI help messages used to mention "acl" instead of "map", others had unbalanced brackets. This can be backported if desired. --- src/map.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/map.c b/src/map.c index 141bd0ceb..dd4f63361 100644 --- a/src/map.c +++ b/src/map.c @@ -1206,15 +1206,15 @@ static struct cli_kw_list cli_kws = {{ },{ { { "del", "acl", NULL }, "del acl [|#] : delete acl entries matching ", cli_parse_del_map, NULL }, { { "get", "acl", NULL }, "get acl : report the patterns matching a sample for an ACL", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, { { "prepare","acl",NULL }, "prepare acl : prepare a new version for atomic ACL replacement", cli_parse_prepare_map, NULL }, - { { "show", "acl", NULL }, "show acl [@] ] : report available acls or dump an acl's contents", cli_parse_show_map, NULL }, + { { "show", "acl", NULL }, "show acl [@] : report available acls or dump an acl's contents", cli_parse_show_map, NULL }, { { "add", "map", NULL }, "add map [@] : add a map entry (payload supported instead of key/val)", cli_parse_add_map, NULL }, { { "clear", "map", NULL }, "clear map [@] : clear the contents of this map", cli_parse_clear_map, cli_io_handler_clear_map, NULL }, { { "commit","map", NULL }, "commit map @ : commit the map at this version", cli_parse_commit_map, cli_io_handler_clear_map, NULL }, { { "del", "map", NULL }, "del map [|#] : delete map entries matching ", cli_parse_del_map, NULL }, - { { "get", "map", NULL }, "get map : report the keys and values matching a sample for a map", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, - { { "prepare","map",NULL }, "prepare map : prepare a new version for atomic map replacement", cli_parse_prepare_map, NULL }, + { { "get", "map", NULL }, "get map : report the keys and values matching a sample for a map", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, + { { "prepare","map",NULL }, "prepare map : prepare a new version for atomic map replacement", cli_parse_prepare_map, NULL }, { { "set", "map", NULL }, "set map [|#] : modify a map entry", cli_parse_set_map, NULL }, - { { "show", "map", NULL }, "show map [@ver] [map] : report available maps or dump a map's contents", cli_parse_show_map, NULL }, + { { "show", "map", NULL }, "show map [@] [map] : report available maps or dump a map's contents", cli_parse_show_map, NULL }, { { NULL }, NULL, NULL, NULL } }};