def _build_option_description(k):
o = _get_registered_option(k)<EOL>d = _get_deprecated_option(k)<EOL>s = '<STR_LIT>'.format(k=k)<EOL>if o.doc:<EOL><INDENT>s += '<STR_LIT:\n>'.join(o.doc.strip().split('<STR_LIT:\n>'))<EOL><DEDENT>else:<EOL><INDENT>s += '<STR_LIT>'<EOL><DEDENT>if o:<EOL><INDENT>s += ('<STR_LIT>'<EOL>.format(default=o.defval, current=_get_option(k, True)))<EOL><DEDENT>if d:<EOL><INDENT>s += '<STR_LIT>'<EOL>s += ('<STR_LIT>'<EOL>.format(rkey=d.rkey if d.rkey else '<STR_LIT>'))<EOL>s += '<STR_LIT:)>'<EOL><DEDENT>return s<EOL>
Builds a formatted description of a registered option and prints it