From: Alexander Popov Date: Tue, 24 Jul 2018 21:30:21 +0000 (+0300) Subject: Adjust the output format X-Git-Tag: v0.5.2~85^2~2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=cc52eb9b3143e646a0e53ffd5bce90347a7176a1;p=kconfig-hardened-check.git Adjust the output format --- 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()