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
This commit is contained in:
miaohb
2016-12-22 15:32:08 +08:00
committed by XueFeng Liu
parent 84b3b4d8b8
commit 2e1a6d1880
2 changed files with 2 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ class ValidateProfile(command.ShowOne):
'--spec-file',
metavar='<spec-file>',
required=True,
help=_('The spec file used to create the profile')
help=_('The spec file of the profile to be validated')
)
return parser

View File

@@ -245,7 +245,7 @@ def do_profile_delete(service, args):
@utils.arg('-s', '--spec-file', metavar='<SPEC FILE>', 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',