From 4de80103b72ee3d7842b032c5513ab1aee5b6129 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 28 Nov 2019 19:56:13 +0300 Subject: [PATCH] Update the column width --- 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 873506a..90e61e7 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -402,8 +402,8 @@ def print_checklist(checklist, with_results): return # header - print('{:^40}|{:^13}|{:^10}|{:^20}'.format('option name', 'desired val', 'decision', 'reason'), end='') - sep_line_len = 86 + print('{:^45}|{:^13}|{:^10}|{:^20}'.format('option name', 'desired val', 'decision', 'reason'), end='') + sep_line_len = 91 if with_results: print('||{:^28}'.format('check result'), end='') sep_line_len += 30 @@ -412,7 +412,7 @@ def print_checklist(checklist, with_results): print('=' * sep_line_len) for opt in checklist: - print('CONFIG_{:<33}|{:^13}|{:^10}|{:^20}'.format(opt.name, opt.expected, opt.decision, opt.reason), end='') + print('CONFIG_{:<38}|{:^13}|{:^10}|{:^20}'.format(opt.name, opt.expected, opt.decision, opt.reason), end='') if with_results: print('||{:^28}'.format(opt.result), end='') print() -- 2.31.1