Merge "[config-ref] Remove heading and trailing blanks from help"
This commit is contained in:
commit
99159d1a4b
@ -478,7 +478,8 @@ def write_files(package_name, options, target, output_format):
|
||||
if not option.help.strip().startswith('DEPRECATED'):
|
||||
helptext = 'DEPRECATED: ' + helptext
|
||||
if getattr(option, 'deprecated_reason', None):
|
||||
helptext += ' ' + option.deprecated_reason
|
||||
helptext += ' '
|
||||
helptext += option.deprecated_reason.lstrip().rstrip()
|
||||
|
||||
opt_type = _TYPE_DESCRIPTIONS.get(type(option), 'Unknown')
|
||||
flags = []
|
||||
|
Loading…
Reference in New Issue
Block a user