From 48707e16dd0c8806e99387b0718a078ecf092f69 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Apr 2022 13:54:33 +0200 Subject: Rename cmdline to b_cmdline, and options to b_options --- build2/b.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build2/b.cxx') diff --git a/build2/b.cxx b/build2/b.cxx index b14da09..470aade 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -35,8 +35,8 @@ #include -#include #include +#include // Build system modules. // @@ -72,7 +72,7 @@ namespace build2 class result_printer { public: - result_printer (const options& ops, + result_printer (const b_options& ops, const action_targets& tgs, json::stream_serializer& js) : ops_ (ops), tgs_ (tgs), json_serializer_ (js) {} @@ -87,7 +87,7 @@ namespace build2 print_json (); private: - const options ops_; + const b_options& ops_; const action_targets& tgs_; json::stream_serializer& json_serializer_; }; @@ -265,7 +265,7 @@ main (int argc, char* argv[]) init_process (); int r (0); - options ops; + b_options ops; scheduler sched; // Statistics. @@ -276,7 +276,7 @@ main (int argc, char* argv[]) { // Parse the command line. // - cmdline cmdl (parse_cmdline (trace, argc, argv, ops)); + b_cmdline cmdl (parse_b_cmdline (trace, argc, argv, ops)); // Handle --build2-metadata (see also buildfile). // -- cgit v1.1