From eb0dafb44b90bc628e3c7c4775c3af201cf85cb0 Mon Sep 17 00:00:00 2001 From: guohliu Date: Tue, 2 Jul 2013 22:49:23 +0800 Subject: [PATCH] Fix command name display issue in heat-manage usage Fixed bug #1194840 Change-Id: Ibe43d0a025f0aed6bec7e414f7e80d0a0f652308 --- heat/cmd/manage.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: -- 2.45.2