diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-07 09:00:00 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-11 15:28:36 +0100 |
commit | bbd3319a00e91bd50fcabeb99e6096a349f692ca (patch) | |
tree | c9be59eb9a81b0ca331ea241539e92437e478f32 /share | |
parent | 78c51ae888d8e7bf6a0c77d905179b30eaf54d8c (diff) | |
download | justbuild-bbd3319a00e91bd50fcabeb99e6096a349f692ca.tar.gz |
Support dumping variables of the analysed target
Add an option --dump-vars showing the variables of the configuration
used (including the use of them being unset). This information can
be used, e.g., to export a given target in a maximally flexible way.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/just.1.org | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/man/just.1.org b/share/man/just.1.org index 4e0fd284..c9008763 100644 --- a/share/man/just.1.org +++ b/share/man/just.1.org @@ -448,6 +448,15 @@ well-defined graph file. See *just-graph-file(5)* for more details. Dump nodes of only the given target to file. ~-~ is treated as stdout. Output is a JSON map between node id and its description. + *--dump-vars* PATH\\ + Dump configuration variables to file. ~-~ is treated as + stdout. The output is a JSON list of those variable names (in + lexicographic order) at which the configuration influenced the + analysis of this target. This might contain variables unset + in the configuraiton if the fact that they were unset (and + hence treated as the default ~null~) was relevant for the + analysis of that target. + *--dump-targets* PATH\\ Dump all transitive targets to file for the given target. ~-~ is treated as stdout. Output is a JSON map of all targets encoded as |