diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-26 09:48:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-26 09:48:58 +0200 |
commit | e86333fa8790f624d82ecea2a8da40f85a1d3630 (patch) | |
tree | 91166f5070c5a43310faa3883030ccdf23182193 /bdep/config.hxx | |
parent | 7839410d934bb36fdac2e4125c72febf73991320 (diff) |
Add support for forwarded configurations
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r-- | bdep/config.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bdep/config.hxx b/bdep/config.hxx index 2ebda45..b521bac 100644 --- a/bdep/config.hxx +++ b/bdep/config.hxx @@ -19,6 +19,7 @@ namespace bdep dir_path path, optional<string> name, optional<bool> default_ = nullopt, + optional<bool> forward = nullopt, optional<uint64_t> id = nullopt, const char* what = "added"); @@ -30,10 +31,16 @@ namespace bdep cli::scanner& args, optional<string> name, optional<bool> default_ = nullopt, + optional<bool> forward = nullopt, optional<uint64_t> id = nullopt); int cmd_config (const cmd_config_options&, cli::scanner& args); + + // Validate returning one of the options or NULL if none specified. + // + const char* + cmd_config_validate_add (const configuration_add_options&); } #endif // BDEP_CONFIG_HXX |