@@ -15,6 +15,9 @@ Synopsis
1515
1616::
1717
18+ bob layers update [-h] [-lc LAYERCONFIG] [-D DEFINES]
19+ [--indent INDENT | --no-indent]
20+ [--format {yaml,json,flat}]
1821 bob layers status [-h] [-lc LAYERCONFIG] [-D DEFINES] [--show-clean]
1922 [--show-overrides] [-v]
2023 bob layers update [-h] [-lc LAYERCONFIG] [-D DEFINES]
@@ -23,8 +26,12 @@ Synopsis
2326Description
2427-----------
2528
26- Update layers or show their SCM-status. The following sub-commands are
27- available:
29+ Update layers or show their status. The following sub-commands are available:
30+
31+ ``ls ``
32+ List known layers and their properties. There are multiple output formats
33+ available. The output of this command is supposed to stay stable and is
34+ thus suitable for scripting.
2835
2936``update ``
3037 Updates the layers.
@@ -45,6 +52,20 @@ Options
4552 Do not move layer workspace to attic if inline SCM switching is not possible.
4653 Instead a build error is issued.
4754
55+ ``--format {yaml,json,flat} ``
56+ Selects a different output format. Defaults to ``yaml ``. The ``flat `` format
57+ is an INI-style format where each key/value pair is printed on a separate
58+ line.
59+
60+ ``--indent INDENT ``
61+ The ``yaml `` and ``json `` output formats are pretty printed with an
62+ indentation of 4 spaces by default. Use this option to chance this to
63+ ``INDENT `` number of spaces.
64+
65+ ``--no-indent ``
66+ Disables the pretty printing of the ``yaml `` and ``json `` formats. The
67+ output will be more compact but is less readable.
68+
4869``-lc LAYERCONFIG ``
4970 Use additional layer configuration file.
5071
0 commit comments