Retrieve profile type by type name and version

Change-Id: Ia6e288c797516e3ccb3e2f33f432a3eb0f0e523f
Signed-off-by: blkart <blkart.org@gmail.com>
This commit is contained in:
blkart 2018-02-05 18:15:28 +08:00
parent 469940c9b9
commit 977bebb5e6
1 changed files with 3 additions and 2 deletions

View File

@ -59,8 +59,9 @@ class ProfileTypeShow(format_utils.YamlFormat):
parser = super(ProfileTypeShow, self).get_parser(prog_name)
parser.add_argument(
'type_name',
metavar='<type-name>',
help=_('Profile type to retrieve')
metavar='<name-version>',
help=_('Profile type name and version to retrieve '
'(e.g. os.nova.server-1.0)')
)
return parser