From: Vsevolod Stakhov Date: Tue, 9 May 2023 05:14:27 +0000 (+0100) Subject: [Minor] Print flags stat X-Git-Tag: 3.6~130 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d4a4128fc5e4d810b0bc4815105dcfae41bde90;p=rspamd.git [Minor] Print flags stat --- 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