aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/cli
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-04-16 14:42:21 +0500
committerTaseer <taseer94@gmail.com>2017-04-18 13:50:00 +0500
commit2589625ff30b794f6a427e040c0287205311dec5 (patch)
treea33a720acd9899c85e4ef6ba47b75f31747e3aed /qtip/cli
parent550a975949328619139631e363c3bc1b48411402 (diff)
Add E release development version.
Change-Id: Icda9c44aa33e63d46da0c5187157132a49db0882 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'qtip/cli')
-rw-r--r--qtip/cli/entry.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtip/cli/entry.py b/qtip/cli/entry.py
index 6cf78b58..b84a03d0 100644
--- a/qtip/cli/entry.py
+++ b/qtip/cli/entry.py
@@ -9,6 +9,7 @@
import click
import os
+import pkg_resources as pkg
import sys
@@ -53,7 +54,7 @@ class QtipCli(click.MultiCommand):
invoke_without_command=True)
@click.option('-v', '--verbose', is_flag=True, help='Enable verbose mode.')
@click.option('-d', '--debug', is_flag=True, help='Enable debug mode.')
-@click.version_option('dev')
+@click.version_option(pkg.require("qtip")[0])
@pass_context
def cli(ctx, verbose, debug):
if debug: