From bacfc92ab6689f2a307471eea3fcd1663a5be6e1 Mon Sep 17 00:00:00 2001 From: liyingjun Date: Wed, 4 Jan 2017 14:48:58 +0800 Subject: Improve kolla-build cmd help message Change-Id: Iaa3c4905f33e1a0995f41c59c446ea2fd67b98d0 --- kolla/common/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'kolla') 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' -- cgit v1.2.3