aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-25 13:54:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-25 13:54:33 +0200
commit48707e16dd0c8806e99387b0718a078ecf092f69 (patch)
tree399a66b22959531d7e3b9ee358f109fb29ebd981 /build2/b.cxx
parentcdddf131403120ca73c83fa8a63da6e71ab3dae4 (diff)
Rename cmdline to b_cmdline, and options to b_options
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx10
1 files changed, 5 insertions, 5 deletions
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 <libbuild2/parser.hxx>
-#include <libbuild2/cmdline.hxx>
#include <libbuild2/b-options.hxx>
+#include <libbuild2/b-cmdline.hxx>
// 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).
//