aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorliyingjun <yingjun.li@kylin-cloud.com>2017-01-04 14:48:58 +0800
committerliyingjun <yingjun.li@kylin-cloud.com>2017-01-04 15:08:32 +0800
commitbacfc92ab6689f2a307471eea3fcd1663a5be6e1 (patch)
treec7e9d119f42f05e2330374aac69e31da9b008d6f /kolla
parent96a604aa1133c04b1fd01ea3b355396ce18baf56 (diff)
downloadkolla-bacfc92ab6689f2a307471eea3fcd1663a5be6e1.tar.gz
kolla-bacfc92ab6689f2a307471eea3fcd1663a5be6e1.zip
Improve kolla-build cmd help message
Change-Id: Iaa3c4905f33e1a0995f41c59c446ea2fd67b98d0
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/common/config.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index b08de9eed..b5cdee06e 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -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'