diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-25 13:55:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-25 13:55:32 +0200 |
commit | 1f2460395e1e052e823332f8eed38315556100c0 (patch) | |
tree | 2ef96fb6a19dff53efc5863507ed8a19a3a8292a | |
parent | 38f9e824fb9402dd018246fbb02f095100b0298b (diff) |
Adjust to renaming of build2 cmdline to b_cmdline, and options to b_options
-rw-r--r-- | bpkg/bpkg.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index c5b442b..e6ca4be 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -17,8 +17,8 @@ #include <libbuild2/scheduler.hxx> #include <libbuild2/file-cache.hxx> -#include <libbuild2/cmdline.hxx> #include <libbuild2/b-options.hxx> +#include <libbuild2/b-cmdline.hxx> #include <libbuild2/dist/init.hxx> #include <libbuild2/test/init.hxx> @@ -125,8 +125,8 @@ namespace bpkg // --build-option if specified, falling back to equivalent bpkg values // otherwise. // - build2::options bo; - cmdline bc; + b_options bo; + b_cmdline bc; { small_vector<char*, 1> argv {const_cast<char*> (build2_argv0)}; @@ -144,11 +144,11 @@ namespace bpkg // For now we use the same default verbosity as us (equivalent to // start_b() with verb_b::normal). // - bc = parse_cmdline (trace, - static_cast<int> (argv.size ()), argv.data (), - bo, - bpkg::verb, - co.jobs_specified () ? co.jobs () : 0); + bc = parse_b_cmdline (trace, + static_cast<int> (argv.size ()), argv.data (), + bo, + bpkg::verb, + co.jobs_specified () ? co.jobs () : 0); if (!bc.buildspec.empty ()) fail << "argument specified with --build-option"; |