aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-22 08:05:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-22 08:07:05 +0200
commitc2589526054b394052fe59e29e58fcdd284d81f3 (patch)
treefaed5a338274ec8cd8720e47572d39f2864443d6 /bdep/config.hxx
parent8717405eb2869115a5abe4b146fa5e73421467d4 (diff)
Diagnose if configuration is inside package
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r--bdep/config.hxx22
1 files changed, 12 insertions, 10 deletions
diff --git a/bdep/config.hxx b/bdep/config.hxx
index e191312..300bb03 100644
--- a/bdep/config.hxx
+++ b/bdep/config.hxx
@@ -15,22 +15,24 @@ namespace bdep
{
shared_ptr<configuration>
cmd_config_add (const configuration_add_options&,
- const dir_path& prj,
+ const dir_path& prj,
+ const package_locations&,
database&,
- dir_path path,
- optional<string> name,
- optional<uint64_t> id = nullopt,
- const char* what = "added");
+ dir_path path,
+ optional<string> name,
+ optional<uint64_t> id = nullopt,
+ const char* what = "added");
shared_ptr<configuration>
cmd_config_create (const common_options&,
const configuration_add_options&,
- const dir_path& prj,
+ const dir_path& prj,
+ const package_locations&,
database&,
- dir_path path,
- cli::scanner& args,
- optional<string> name,
- optional<uint64_t> id = nullopt);
+ dir_path path,
+ cli::scanner& args,
+ optional<string> name,
+ optional<uint64_t> id = nullopt);
int
cmd_config (cmd_config_options&&, cli::scanner& args);