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:
@@ -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
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user