From 13b07e3d9d3c1f3e687a719675aabb6b68e3c822 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Jan 2019 09:16:33 +0200 Subject: Print list of available operations and meta-operations in info --- build2/operation.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/operation.hxx') diff --git a/build2/operation.hxx b/build2/operation.hxx index f79228b..d2c3486 100644 --- a/build2/operation.hxx +++ b/build2/operation.hxx @@ -287,6 +287,12 @@ namespace build2 process_func* process; }; + inline ostream& + operator<< (ostream& os, const meta_operation_data& d) + { + return os << d.name; + } + extern butl::string_table meta_operation_table; extern butl::string_table operation_table; -- cgit v1.1