diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-07-09 20:55:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-07-20 17:08:09 +0300 |
commit | 07ab59a93f9447d5489743e8d7e19b6adb5ebbf1 (patch) | |
tree | aa202b26e7ac2b3b6477855e250ab0464301fd2d /bdep/config.hxx | |
parent | 8da242097fcaec5f3676f8d2296b639879825ddd (diff) |
Add support for configuration type and bdep-config-link sub-command
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r-- | bdep/config.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bdep/config.hxx b/bdep/config.hxx index 049f030..111ce15 100644 --- a/bdep/config.hxx +++ b/bdep/config.hxx @@ -12,13 +12,17 @@ namespace bdep { + // If type is nullopt, then query the bpkg configuration type. + // shared_ptr<configuration> - cmd_config_add (const configuration_add_options&, + cmd_config_add (const common_options&, + const configuration_add_options&, const dir_path& prj, const package_locations&, database&, dir_path path, optional<string> name, + optional<string> type, optional<uint64_t> id = nullopt, const char* what = "added"); @@ -31,6 +35,7 @@ namespace bdep dir_path path, const strings& args, optional<string> name, + string type, optional<uint64_t> id = nullopt); int |