Skip to content

Commit

Permalink
Pass package_name to click.version_option() (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti authored Jan 15, 2023
1 parent 6e12e5c commit d4b939c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
type=click.Choice(["default", "json", "json_pretty"]),
default="default",
)
@click.version_option()
@click.version_option(package_name="python-miio")
@click.pass_context
def cli(ctx, debug: int, output: str):
logging_config: Dict[str, Any] = {
Expand Down

0 comments on commit d4b939c

Please sign in to comment.