From 5abc39ba0162ba047edd7cf1f5cb4f692f534e36 Mon Sep 17 00:00:00 2001 From: foxsam21 Date: Thu, 14 Jan 2021 10:37:53 -0500 Subject: [PATCH] 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 --- guides/cli.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/guides/cli.rst b/guides/cli.rst index b7c4540f6..8537d5a83 100644 --- a/guides/cli.rst +++ b/guides/cli.rst @@ -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 and [arguments]. + Note: you can also use ``--help`` for any command to get arguments specific to that command. +.. code-block:: console + + esphome --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. -