fix version option
This commit is contained in:
parent
f317ed3017
commit
b3d2d6d2b0
2 changed files with 2 additions and 2 deletions
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='sr.ht cli',
|
name='sr.ht cli',
|
||||||
version='0.1.0',
|
version='0.1.1',
|
||||||
py_modules=['srht','output'],
|
py_modules=['srht','output'],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'click',
|
'click',
|
||||||
|
|
2
srht.py
2
srht.py
|
@ -31,7 +31,7 @@ base_url = ""
|
||||||
@click.group()
|
@click.group()
|
||||||
@click.option('--user')
|
@click.option('--user')
|
||||||
@click.option('--token')
|
@click.option('--token')
|
||||||
@click.version_option(package_name='sr.ht-cli')
|
@click.version_option(version='0.1.1')
|
||||||
def cli(user, token):
|
def cli(user, token):
|
||||||
global access_token
|
global access_token
|
||||||
global username
|
global username
|
||||||
|
|
Loading…
Reference in a new issue