From af662849b756ef2ff0f3d5148a6771acab78fd80 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 26 Oct 2021 07:36:39 +0200 Subject: Add comment --- libbuild2/file.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbuild2/file.cxx') 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 -- cgit v1.1