Skip to content

Commit

Permalink
Fix for examples regarding "--columns" to make examples work (at leas…
Browse files Browse the repository at this point in the history
…t for --output table)
  • Loading branch information
haakonstorm committed Sep 8, 2019
1 parent fa918dd commit 58fb680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -271,7 +271,7 @@ Listing devices and areas works similar to list Entities.
ea63e86747104abdb26f6d6ea9d2ddef Old Shed
16bd0505030a430b91fcf331340090f8 Entrance
81c28de473dd41a7846fc97fdcd3027b Dinner Table
69fdd00e91614957980a8dc1a7f0f68a Kids room
69fdd00e91614957980a8dc1a7f0f68a Kids room
You can create and delete areas:
Expand Down Expand Up @@ -443,8 +443,8 @@ Help
careful!
--debug Enables debug mode.
--columns TEXT Custom columns key=value list. Example:
ENTITY=entity_name,
NAME=attributes.friendly_name
ENTITY=entity_id,
NAME=name
--no-headers When printing tables don't use headers
(default: print headers)
--table-format TEXT Which table format to use.
Expand Down
2 changes: 1 addition & 1 deletion homeassistant_cli/cli.py
Expand Up @@ -185,7 +185,7 @@ def _default_token() -> Optional[str]:
default=None,
help=(
'Custom columns key=value list.'
' Example: ENTITY=entity_name, NAME=attributes.friendly_name'
' Example: ENTITY=entity_id, NAME=name'
),
)
@click.option(
Expand Down

0 comments on commit 58fb680

Please sign in to comment.