Fixed Version Functionality

In accordance with bug-1068521, cinder version functionality is available via the shell.

Change-Id: If9608291f318057fc8fa61151328d6503a79d70d
This commit is contained in:
Anita Kuno
2013-01-17 17:08:01 +00:00
parent 61e2a4237f
commit fbddead1cb

View File

@@ -79,6 +79,10 @@ class OpenStackCinderShell(object):
action='store_true',
help=argparse.SUPPRESS)
parser.add_argument('--version',
action='version',
version=cinderclient.__version__)
parser.add_argument('--debug',
action='store_true',
default=utils.env('CINDERCLIENT_DEBUG',