From: Davanum Srinivas Date: Thu, 14 Mar 2013 12:31:49 +0000 (-0400) Subject: cinder-manage does not print any version information X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b8885203c12e2a963c614183a832063bf5ffdc48;p=openstack-build%2Fcinder-build.git cinder-manage does not print any version information 'cinder-manage --version' does not print anything. We need to pass in the version information along with the argv and project information Change-Id: Ia826874cbbc3316226fb475646a0c146fd3a5955 --- diff --git a/cinder/flags.py b/cinder/flags.py index 62b0e32d1..bfe766181 100644 --- a/cinder/flags.py +++ b/cinder/flags.py @@ -32,11 +32,14 @@ import sys from oslo.config import cfg +from cinder import version + FLAGS = cfg.CONF def parse_args(argv, default_config_files=None): FLAGS(argv[1:], project='cinder', + version=version.version_string(), default_config_files=default_config_files)