From 3d4a4128fc5e4d810b0bc4815105dcfae41bde90 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 9 May 2023 06:14:27 +0100 Subject: [PATCH] [Minor] Print flags stat --- lualib/rspamadm/fuzzy_stat.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lualib/rspamadm/fuzzy_stat.lua b/lualib/rspamadm/fuzzy_stat.lua index 3959103a5..9e382c06f 100644 --- a/lualib/rspamadm/fuzzy_stat.lua +++ b/lualib/rspamadm/fuzzy_stat.lua @@ -291,6 +291,16 @@ return function(args, res) end end + if key_stat.flags then + print('') + print('\tFlags stat:') + for flag,v in ipairs(key_stat.flags) do + print(string.format('\t%s', flag)) + print_stat(v, '\t\t') + print('') + end + end + print('') end end -- 2.39.5