(opt)
Format the output for a `click.Option`.
Format the output for a `click.Option`.
Format the output for a click . Option .
def _format_option(opt):
    """Format the output for a `click.Option`."""
    opt = _get_help_record(opt)

    yield '.. option:: {}'.format(opt[0])
    if opt[1]:
        yield ''
        for line in statemachine.string2lines(
            ANSI_ESC_SEQ_RE.sub('', opt[1]), tab_width=4, convert_whitespace=True
        ):
            yield _indent(line)
def _format_option ( opt ) : opt = _get_help_record ( opt ) yield '.. option:: {}' . format ( opt [ 0 ] ) if opt [ 1 ] : yield '' for line in statemachine . string2lines ( ANSI_ESC_SEQ_RE . sub ( '' , opt [ 1 ] ) , tab_width = 4 , convert_whitespace = True ) : yield _indent ( line )