add short options name

This commit is contained in:
Alexander Popov 2021-07-22 01:07:35 +03:00
parent bfc88eb682
commit d828c86715
Signed by: iiiypuk
GPG Key ID: 398FC73478D97286
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ venv/
.tox/ .tox/
minecraft_libs/__pycache__/ minecraft_libs/__pycache__/
version.json version.json
libs.txt

View File

@ -1,3 +1,3 @@
"""Parse version.json file and return libs""" """Parse version.json file and return libs"""
__version__ = "1.0.4" __version__ = "1.0.5"

View File

@ -6,8 +6,8 @@ import click
@click.command() @click.command()
@click.option("--platform", default=sys.platform, help="Output platform (win32, linux, darwin).") @click.option("-p", "--platform", default=sys.platform, help="Output platform (win32, linux, darwin).")
@click.option("--output", default="tty", help="Output option (tty, txt).") @click.option("-o", "--output", default="tty", help="Output option (tty, txt).")
def make_output(platform, output): def make_output(platform, output):
"""Return libraries list""" """Return libraries list"""