autohelp: strip help strings on dump too

Change-Id: I639ffd4352b8e9b09debaca01fa2befd79ecf466
This commit is contained in:
Gauvain Pocentek 2015-04-02 15:13:42 +02:00
parent 05d96ac900
commit 044850f8cc

View File

@ -349,7 +349,7 @@ class OptionsCache(object):
for deprecated in option.deprecated_opts]
new_option = {
'default': option.default,
'help': option.help,
'help': option.help.strip(),
'deprecated_opts': deprecated_opts,
'type': option.__class__.__name__.split('.')[-1]
}