From e86333fa8790f624d82ecea2a8da40f85a1d3630 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Apr 2018 09:48:58 +0200 Subject: Add support for forwarded configurations --- bdep/config.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bdep/config.hxx') 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 name, optional default_ = nullopt, + optional forward = nullopt, optional id = nullopt, const char* what = "added"); @@ -30,10 +31,16 @@ namespace bdep cli::scanner& args, optional name, optional default_ = nullopt, + optional forward = nullopt, optional 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 -- cgit v1.1