From b8885203c12e2a963c614183a832063bf5ffdc48 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 14 Mar 2013 08:31:49 -0400 Subject: [PATCH] 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 --- cinder/flags.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.45.2