- print('CONFIG_{:<38}|{:^13}|{:^10}|{:^20}'.format(opt.name, opt.expected, opt.decision, opt.reason), end='')
- if with_results:
- print('| {}'.format(opt.result), end='')
- print()
+ if debug_mode and hasattr(opt, 'opts'):
+ print(' {:87}'.format('<<< ' + opt.__class__.__name__ + ' >>>'), end='')
+ if with_results:
+ print('| {}'.format(opt.result), end='')
+ print()
+ for o in opt.opts:
+ if hasattr(o, 'ver_expected'):
+ ver_req = 'kernel version >= ' + str(o.ver_expected[0]) + '.' + str(o.ver_expected[1])
+ print('{:<91}'.format(ver_req), end='')
+ if with_results:
+ print('| {}'.format(o.result), end='')
+ print()
+ else:
+ print_opt(o, with_results)
+ else:
+ print_opt(opt, with_results)
+ if debug_mode:
+ print('-' * sep_line_len)