blob: 0e0a7c920b5e560a7d8dc1d0cdd21f8cb4143d58 [file] [log] [blame]
Rich Lane95f078b2013-01-06 13:24:58 -08001import optparse
2
3# Don't wrap description text to give us more control over newlines.
4class HelpFormatter(optparse.IndentedHelpFormatter):
5 def format_description(self, description):
6 if description:
7 indent = " "*self.current_indent
8 return indent + description
9 else:
10 return none