"""
import sys, os
-import textwrap
from gettext import gettext as _, ngettext
Format a paragraph of free-form text for inclusion in the
help output at the current indentation level.
"""
+ import textwrap
text_width = max(self.width - self.current_indent, 11)
indent = " "*self.current_indent
return textwrap.fill(text,
indent_first = 0
result.append(opts)
if option.help:
+ import textwrap
help_text = self.expand_default(option)
help_lines = textwrap.wrap(help_text, self.help_width)
result.append("%*s%s\n" % (indent_first, "", help_lines[0]))