aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-10 20:35:36 +0000
committerGerrit Code Review <review@openstack.org>2017-01-10 20:35:36 +0000
commita27f237ddd646089e1c28918316fb83e34978781 (patch)
tree38dd1642599beef9cb12ff034dd0dbfcbd8b7523
parent66c5612b7aa3f58143ce36f2ccc4791d281507bc (diff)
parentbacfc92ab6689f2a307471eea3fcd1663a5be6e1 (diff)
downloadkolla-a27f237ddd646089e1c28918316fb83e34978781.tar.gz
kolla-a27f237ddd646089e1c28918316fb83e34978781.zip
Merge "Improve kolla-build cmd help message"
-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 63ea0f178..cacd20cb3 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -145,7 +145,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',
@@ -196,7 +197,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'