def config_pp(subs):
print('<STR_LIT>',<EOL>end='<STR_LIT>')<EOL>for sub in subs:<EOL><INDENT>hlp_lst = []<EOL>for opt, meta in conf[sub].defaults_():<EOL><INDENT>if meta.cmd_arg ^ meta.conf_arg:<EOL><INDENT>opt += '<STR_LIT>' if meta.cmd_arg else '<STR_LIT>'<EOL><DEDENT>hlp_lst.append((opt, meta.help))<EOL><DEDENT>if hlp_lst:<EOL><INDENT>print('<STR_LIT>'.format(sub))<EOL>_pretty_print(hlp_lst, sep='<STR_LIT>',<EOL>text_width=min(get_terminal_size().columns, <NUM_LIT:100>))<EOL>print()<EOL><DEDENT><DEDENT>
Pretty print of configuration options.

    Args:
        subs (iterable of str): iterable with the list of conf sections to
            print.