Skip to content

Commit

Permalink
Add --version to miiocli (rytilahti#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti authored and xvlady committed May 9, 2021
1 parent c683b24 commit f67bbd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
type=click.Choice(["default", "json", "json_pretty"]),
default="default",
)
@click.version_option()
@click.pass_context
def cli(ctx, debug: int, output: str):
if debug:
Expand Down

0 comments on commit f67bbd1

Please sign in to comment.