doc: west: add docs for west manifest --validate

This is supported but undocumented.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2019-10-10 13:44:04 -07:00 committed by Kumar Gala
commit 9008578e4f

View file

@ -297,3 +297,14 @@ You can use ``--freeze`` to produce a frozen manifest that's equivalent to your
current manifest file. The ``-o`` option specifies an output file; if not current manifest file. The ``-o`` option specifies an output file; if not
given, standard output is used. given, standard output is used.
Validating Manifests
====================
The ``--validate`` action either succeeds if the current manifest file is valid,
or fails with an error:
.. code-block:: none
west manifest --validate
The error message can help diagnose errors.