blob: bd6feb1832bcf72990ea1065a998c823ed9095a6 [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:
Rich Lane720eaf22013-08-09 18:00:45 -070010 return None