From 1b6a665ead3af91c3ce9c0a8492300c6f86e6f2a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Aug 2021 21:56:20 +0300 Subject: Issue warning if added config already has host configs linked --- bdep/config.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bdep/config.hxx') diff --git a/bdep/config.hxx b/bdep/config.hxx index b8ad1cc..9134bee 100644 --- a/bdep/config.hxx +++ b/bdep/config.hxx @@ -12,7 +12,10 @@ namespace bdep { - // If type is nullopt, then query the bpkg configuration type. + // If type is nullopt, then assume that an existing configuration is being + // added. If that's the case, query the bpkg configuration type and links + // and warn the user if any host or build2 configurations are linked, unless + // they are already associated with the project. // shared_ptr cmd_config_add (const common_options&, -- cgit v1.1