From: guohliu Date: Tue, 2 Jul 2013 14:49:23 +0000 (+0800) Subject: Fix command name display issue in heat-manage usage X-Git-Tag: 2014.1~393^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=eb0dafb44b90bc628e3c7c4775c3af201cf85cb0;p=openstack-build%2Fheat-build.git Fix command name display issue in heat-manage usage Fixed bug #1194840 Change-Id: Ibe43d0a025f0aed6bec7e414f7e80d0a0f652308 --- diff --git a/heat/cmd/manage.py b/heat/cmd/manage.py index 1f19185f..9834f506 100644 --- a/heat/cmd/manage.py +++ b/heat/cmd/manage.py @@ -63,8 +63,10 @@ command_opt = cfg.SubCommandOpt('command', def main(): CONF.register_cli_opt(command_opt) try: - CONF(sys.argv[1:], project='heat', prog='heat-engine', - version=version.version_info.version_string()) + default_config_files = cfg.find_config_files('heat', 'heat-engine') + CONF(sys.argv[1:], project='heat', prog='heat-manage', + version=version.version_info.version_string(), + default_config_files=default_config_files) log.setup("heat") db_api.configure() except RuntimeError as e: