From b258ed7488526a76fb1b46749c887ac40bc892ed Mon Sep 17 00:00:00 2001 From: rui Date: Mon, 21 Jun 2021 03:21:23 -0400 Subject: [PATCH] doc: remove duplicate `--version` (#368) --- README.rst | 1 - homeassistant_cli/cli.py | 1 - 2 files changed, 2 deletions(-) diff --git a/README.rst b/README.rst index 27e77f3..d6d26b5 100644 --- a/README.rst +++ b/README.rst @@ -488,7 +488,6 @@ Help --table-format TEXT Which table format to use. --sort-by TEXT Sort table by the jsonpath expression. Example: last_changed - --version Show the version and exit. --help Show this message and exit. Commands: diff --git a/homeassistant_cli/cli.py b/homeassistant_cli/cli.py index 9b2013a..6285e25 100644 --- a/homeassistant_cli/cli.py +++ b/homeassistant_cli/cli.py @@ -205,7 +205,6 @@ def _default_token() -> Optional[str]: default=None, help='Sort table by the jsonpath expression. Example: last_changed', ) -@click.version_option() @pass_context def cli( ctx: Configuration,