Fix help message

Fix Required to small case(required)
Add period.

This fix is coming from below patch set 1 comment.
https://review.openstack.org/#/c/251331/

Change-Id: I614a8143ed6cba37dc726f3c85606daaf6a767be
This commit is contained in:
Atsushi SAKAI
2015-12-01 12:08:25 +09:00
parent 4fe0255682
commit 6dbfc4502e

View File

@@ -45,7 +45,9 @@ def arg(*args, **kwargs):
kwargs['help'] += " Defaults to %s." % kwargs['default']
required = kwargs.get('required', False)
if required:
kwargs['help'] += " Required."
kwargs['help'] += " required."
elif 'default' not in kwargs:
kwargs['help'] += "."
# Because of the sematics of decorator composition if we just append
# to the options list positional options will appear to be backwards.