aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-26 07:36:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-26 07:36:39 +0200
commitaf662849b756ef2ff0f3d5148a6771acab78fd80 (patch)
tree2264afc5fbf01d638cd8ebef1fdf671178dbf93c
parent8058024f36482282954c7e21e0cadc0813fe4f4a (diff)
Add comment
-rw-r--r--libbuild2/file.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index c93a86f..682f89d 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1745,8 +1745,10 @@ namespace build2
}
// Extract metadata for an executable target by executing it with the
- // --build2-metadata option. In case of an error, issue diagnostics and fail
- // if opt is false and return nullopt if it's true.
+ // --build2-metadata option. Key is the target name (and not necessarily the
+ // same as metadata variable prefix in export.metadata; e.g., openbsd-m4 and
+ // openbsd_m4). In case of an error, issue diagnostics and fail if opt is
+ // false and return nullopt if it's true.
//
// Note that loading of the metadata is split into two steps, extraction and
// parsing, because extraction also serves as validation that the executable