Mercurial > mozilla > hg > DocumentIt
changeset 13:1efb669ab1c8
better description formatting
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 02 Aug 2011 16:36:08 -0700 |
parents | 54e27f046cd2 |
children | 145a11393a73 |
files | document_it.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 ''