From 2e1a6d188014181e129bc8aa4b56fa530b0a76ca Mon Sep 17 00:00:00 2001 From: miaohb Date: Thu, 22 Dec 2016 15:32:08 +0800 Subject: [PATCH] Trivial: Modify the description of profile validate The spec file should be of the profile to be validated, not created, which is copied from profile create. Change-Id: Idd7b5426da45ca93c9405fd860c47178ffa1a399 --- senlinclient/v1/profile.py | 2 +- senlinclient/v1/shell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/senlinclient/v1/profile.py b/senlinclient/v1/profile.py index fc03fbd..2b2c6b1 100644 --- a/senlinclient/v1/profile.py +++ b/senlinclient/v1/profile.py @@ -327,7 +327,7 @@ class ValidateProfile(command.ShowOne): '--spec-file', metavar='', required=True, - help=_('The spec file used to create the profile') + help=_('The spec file of the profile to be validated') ) return parser diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 3df5ef0..237a907 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -245,7 +245,7 @@ def do_profile_delete(service, args): @utils.arg('-s', '--spec-file', metavar='', required=True, - help=_('The spec file used to create the profile.')) + help=_('The spec file of the profile to be validated.')) def do_profile_validate(service, args): """Validate a profile.""" show_deprecated('senlin profile-validate',