cli.rst add --help (#939)

* Update cli.rst

Added that --help works for esphome commands. i.e. esphome logs --help

* Update cli.rst

* Update guides/cli.rst

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
foxsam21 2021-01-14 10:37:53 -05:00 committed by GitHub
parent 251357b769
commit 5abc39ba01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,18 @@ ESPHome's command line interface always has the following format
.. code-block:: console
esphome livingroom.yaml kitchen.yaml run
esphome livingroom.yaml kitchen.yaml run
``--help`` Option
--------------------
.. option:: -h|--help
Output possible <commands> and [arguments].
Note: you can also use ``--help`` for any command to get arguments specific to that command.
.. code-block:: console
esphome <some_command> --help
``--verbose`` Option
--------------------
@ -208,4 +219,3 @@ through a graphical user interface.
If set, opens the dashboard UI in a browser once the server is up and running.