Add verbosity option for "run" and "ci" commands

This commit is contained in:
Ivan Kravets
2015-05-15 22:40:29 +02:00
parent 4a132941f6
commit c7b034b154
8 changed files with 167 additions and 101 deletions
+8
View File
@@ -106,6 +106,14 @@ Don't remove :option:`platformio ci --build-dir` after build process.
Buid project using pre-configured :ref:`projectconf`.
.. option::
-v, --verbose
Shows details about the results of processing environments. More details
:option:`platformio run --verbose`
By default, verbosity level is set to 1 (only errors will be printed).
Examples
--------
+15
View File
@@ -47,6 +47,21 @@ Upload port of embedded board. To print all available ports use
Specify the path to project directory. By default, ``--build-dir`` is equal to
current working directory (``CWD``).
.. option::
-v, --verbose
Shows details about the results of processing environments. Each instance of
``--verbose`` on the command line increases the verbosity level by one, so if
you need more details on the output, specify it twice.
There 3 levels of verbosity:
1. ``-v`` - output errors only
2. ``-vv`` - output errors and warnings
3. ``-vvv`` - output errors, warnings and additional information
By default, verbosity level is set to 3 (maximum information).
Examples
--------