code: def format_option(self, ohi):
      
      lines = []
      choices = 'one of: [{}] '.format(ohi.choices) if ohi.choices else ''
      arg_line = ('{args} {dflt}'
                  .format(args=self._maybe_cyan(', '.join(ohi.display_args)),
                          dflt=self._maybe_green('({}default: {})'.format(choices, ohi.default))))
      lines.append(arg_line)
  
      indent = '    '
      lines.extend(['{}{}'.format(indent, s) for s in wrap(ohi.help, 76)])
      if ohi.deprecated_message:
        lines.append(self._maybe_red('{}{}.'.format(indent, ohi.deprecated_message)))
        if ohi.removal_hint:
          lines.append(self._maybe_red('{}{}'.format(indent, ohi.removal_hint)))
      return lines
docs: Format the help output for a single option.
  
      :param OptionHelpInfo ohi: Extracted information for option to print
      :return: Formatted help text for this option
      :rtype: list of string