From: Alfredo Deza Date: Mon, 4 Aug 2014 19:12:06 +0000 (-0400) Subject: create a --version flag for teuthology X-Git-Tag: 1.1.0~1292^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F305%2Fhead;p=teuthology.git create a --version flag for teuthology Signed-off-by: Alfredo Deza --- diff --git a/scripts/run.py b/scripts/run.py index 5eee3772..0a34d80d 100644 --- a/scripts/run.py +++ b/scripts/run.py @@ -15,6 +15,12 @@ def parse_args(): action='store_true', default=None, help='be more verbose', ) + parser.add_argument( + '--version', + action='version', + version='%s' % teuthology.__version__, + help='the current installed version of teuthology', + ) parser.add_argument( 'config', metavar='CONFFILE',