diff --git a/senlinclient/v1/policy.py b/senlinclient/v1/policy.py index efa8ce1..67f7cf1 100644 --- a/senlinclient/v1/policy.py +++ b/senlinclient/v1/policy.py @@ -287,7 +287,7 @@ class ValidatePolicy(command.ShowOne): '--spec-file', metavar='', required=True, - help=_('The spec file used to create the policy') + help=_('The spec file of the policy to be validated') ) return parser diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 237a907..08e4006 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -440,9 +440,9 @@ def do_policy_delete(service, args): @utils.arg('-s', '--spec-file', metavar='', required=True, - help=_('The spec file used to create the policy.')) + help=_('The spec file of the policy to be validated.')) def do_policy_validate(service, args): - """VAlidate a policy spec.""" + """Validate a policy spec.""" show_deprecated('senlin policy-validate', 'openstack cluster policy validate') spec = utils.get_spec_content(args.spec_file)