From: Alexander Popov Date: Sat, 22 Jan 2022 21:34:01 +0000 (+0300) Subject: Print the type of a check in the json mode X-Git-Tag: v0.5.17~31^2~4 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3b428f9b7b416a90599f7ec0da355a78fbc742fa;p=kconfig-hardened-check.git Print the type of a check in the json mode --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index f1de819..3b19ce8 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -626,7 +626,7 @@ def print_checklist(mode, checklist, with_results): if mode == 'json': opts = [] for o in checklist: - opt = ['CONFIG_'+o.name, o.expected, o.decision, o.reason] + opt = ['CONFIG_'+o.name, o.type, o.expected, o.decision, o.reason] if with_results: opt.append(o.result) opts.append(opt)