]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix command name display issue in heat-manage usage
authorguohliu <guohliu@cn.ibm.com>
Tue, 2 Jul 2013 14:49:23 +0000 (22:49 +0800)
committerguohliu <guohliu@cn.ibm.com>
Wed, 3 Jul 2013 15:29:13 +0000 (23:29 +0800)
Fixed bug #1194840

Change-Id: Ibe43d0a025f0aed6bec7e414f7e80d0a0f652308

heat/cmd/manage.py

index 1f19185f33367f8152804147214ee1964b440df3..9834f506bf07fdb465ced58d1f1cd61736f5d2c1 100644 (file)
@@ -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: