aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r--bdep/config.hxx7
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