From f67bbd1e4c195c4063b9bf86981faddd0c7f98eb Mon Sep 17 00:00:00 2001 From: Teemu R Date: Sat, 18 Jul 2020 18:19:28 +0200 Subject: [PATCH] Add --version to miiocli (#767) --- miio/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/miio/cli.py b/miio/cli.py index bde242b5d..891f7a731 100644 --- a/miio/cli.py +++ b/miio/cli.py @@ -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: