Improve kolla-build cmd help message

Change-Id: Iaa3c4905f33e1a0995f41c59c446ea2fd67b98d0
This commit is contained in:
liyingjun
2017-01-04 14:48:58 +08:00
parent 96a604aa11
commit bacfc92ab6

View File

@@ -142,7 +142,8 @@ _PROFILE_OPTS = [
_CLI_OPTS = [
cfg.StrOpt('base', short='b', default='centos',
choices=BASE_OS_DISTRO,
help='The distro type of the base image'),
help='The distro type of the base image. Allowed values '
'are ' + ', '.join(BASE_OS_DISTRO)),
cfg.StrOpt('base-tag', default='latest',
help='The base distro image tag'),
cfg.StrOpt('base-image',
@@ -191,7 +192,8 @@ _CLI_OPTS = [
cfg.StrOpt('type', short='t', default='binary',
choices=INSTALL_TYPE_CHOICES,
dest='install_type',
help=('The method of the OpenStack install')),
help=('The method of the OpenStack install. Allowed values '
'are ' + ', '.join(INSTALL_TYPE_CHOICES))),
cfg.IntOpt('threads', short='T', default=8, min=1,
help=('The number of threads to use while building.'
' (Note: setting to one will allow real time'