code: def _format_option(opt):
      
      opt = _get_help_record(opt)
  
      yield '.. option:: {}'.format(opt[0])
      if opt[1]:
          yield ''
          for line in statemachine.string2lines(
                  opt[1], tab_width=4, convert_whitespace=True):
              yield _indent(line)
docs: Format the output for a `click.Option`.