--- a/mod_audit/mod_audit.lua Fri Apr 07 13:44:18 2023 +0100
+++ b/mod_audit/mod_audit.lua Fri Apr 07 13:46:29 2023 +0100
@@ -185,6 +185,12 @@
});
end
+ if arg.show_note then
+ table.insert(colspec, {
+ title = "Note", key = "note", width = "2p";
+ });
+ end
+
local row, width = require "util.human.io".table(colspec);
print(string.rep("-", width));
@@ -200,6 +206,7 @@
username = user;
ip = entry:get_child_text("remote-ip");
location = entry:find("location@country");
+ note = entry:get_child_text("note");
}));
end
end