diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-04-19 03:00:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-19 03:00:23 +0000 |
commit | 2781bdb0a4d3802719f4dc6f862bb7e8cfbaed41 (patch) | |
tree | b3f808831ab344b3ad678db5a41978b7f63ee367 /qtip | |
parent | b40f4ca8366037551d17ce93f892caba464f9bc0 (diff) | |
parent | 2589625ff30b794f6a427e040c0287205311dec5 (diff) |
Merge "Add E release development version."
Diffstat (limited to 'qtip')
-rw-r--r-- | qtip/cli/entry.py | 3 |
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: |