Skip to content

Commit

Permalink
doc: remove duplicate --version (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 authored Jun 21, 2021
1 parent da82b32 commit b258ed7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion homeassistant_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b258ed7

Please sign in to comment.