diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-25 12:12:14 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-25 15:26:53 +0200 |
commit | 32322ff28c151d8ec5510b7019365d573e44bddf (patch) | |
tree | ba1d961cb7414bed54fc8a617f51fcd15d620fcd /doc/concepts | |
parent | 32981ac5493a7d9925130609ad123ae2ac9984ab (diff) | |
download | justbuild-32322ff28c151d8ec5510b7019365d573e44bddf.tar.gz |
expression: add "msg" argument to "to_subdir"
... allowing to provide additional information in case of conflict
during flat staging.
Diffstat (limited to 'doc/concepts')
-rw-r--r-- | doc/concepts/expressions.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/concepts/expressions.org b/doc/concepts/expressions.org index cfe058ba..c8d2a9a5 100644 --- a/doc/concepts/expressions.org +++ b/doc/concepts/expressions.org @@ -253,7 +253,9 @@ those) argument(s) to obtain the final result. argument ~"flat"~ (default ~false~) evaluates to a true value, the keys are instead replaced by the path concatenation of the ~"subdir"~ argument and the base name of the old key. It is an - error if conflicts occur in this way. + error if conflicts occur in this way; in case of such a user + error, the argument ~"msg"~ is also evaluated and the result + of that evaluatino reported in the error message. ***** Binary functions |