From: Alfredo Deza Date: Mon, 4 Aug 2014 19:12:06 +0000 (-0400) Subject: create a --version flag for teuthology X-Git-Tag: v0.94.10~27^2^2~364^2~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fe6f46114a120b14f511bcac3742bbbe68e4ae83;p=ceph.git create a --version flag for teuthology Signed-off-by: Alfredo Deza --- diff --git a/scripts/run.py b/scripts/run.py index 5eee37721690..0a34d80d16ef 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',