From cc52eb9b3143e646a0e53ffd5bce90347a7176a1 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 25 Jul 2018 00:30:21 +0300 Subject: [PATCH] Adjust the output format --- kconfig-hardened-check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index 0b32dfb..8d1ecdf 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -210,10 +210,10 @@ def print_opt_checks(): def print_check_results(): - print(' {:<39}|{:^13}|{:^10}|{:^20}||{:^20}'.format('option name', 'desired val', 'decision', 'reason', 'check result')) - print(' ===========================================================================================================') + print(' {:<39}|{:^13}|{:^10}|{:^20}||{:^28}'.format('option name', 'desired val', 'decision', 'reason', 'check result')) + print(' ===================================================================================================================') for opt in checklist: - print(' CONFIG_{:<32}|{:^13}|{:^10}|{:^20}||{:^20}'.format(opt.name, opt.expected, opt.decision, opt.reason, opt.result)) + print(' CONFIG_{:<32}|{:^13}|{:^10}|{:^20}||{:^28}'.format(opt.name, opt.expected, opt.decision, opt.reason, opt.result)) print() -- 2.31.1