# HG changeset patch # User Jeff Hammel # Date 1312328168 25200 # Node ID 1efb669ab1c8ee0acf24f0e9fcb666793d33011e # Parent 54e27f046cd209011555bc2990b5eddf9bfc25ff better description formatting diff -r 54e27f046cd2 -r 1efb669ab1c8 document_it.py --- a/document_it.py Tue Aug 02 16:06:29 2011 -0700 +++ b/document_it.py Tue Aug 02 16:36:08 2011 -0700 @@ -86,7 +86,7 @@ class PlainDescriptionFormatter(optparse.IndentedHelpFormatter): def format_description(self, description): if description: - return description + '\n' + return description.strip() + '\n' else: return ''