From a08dbdcf39cd2824527d153f490514087b70d1c8 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 12 Dec 2023 12:38:42 +0100 Subject: just analyse: support dumping the provides map of a target --- src/buildtool/common/cli.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/buildtool/common/cli.hpp') diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp index 3409eae8..b1633716 100644 --- a/src/buildtool/common/cli.hpp +++ b/src/buildtool/common/cli.hpp @@ -78,6 +78,7 @@ struct DiagnosticArguments { std::optional dump_actions{std::nullopt}; std::optional dump_blobs{std::nullopt}; std::optional dump_trees{std::nullopt}; + std::optional dump_provides{std::nullopt}; std::optional dump_vars{std::nullopt}; std::optional dump_targets{std::nullopt}; std::optional dump_export_targets{std::nullopt}; @@ -344,6 +345,10 @@ static inline auto SetupDiagnosticArguments( clargs->dump_blobs, "Dump blobs to file (use - for stdout).") ->type_name("PATH"); + app->add_option("--dump-provides", + clargs->dump_provides, + "Dump provides map to file (use - for stdout).") + ->type_name("PATH"); app->add_option("--dump-vars", clargs->dump_vars, "Dump domain of the effective configuration to file (use - " -- cgit v1.2.3