aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-06 21:56:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-09 13:55:06 +0300
commit1b6a665ead3af91c3ce9c0a8492300c6f86e6f2a (patch)
tree0d95bd49fc7a9095eb0e7ea5b60583fc311afe13 /bdep/config.hxx
parentdc02a15c89993634f7336d5bd54bd9f37746bfbe (diff)
Issue warning if added config already has host configs linked
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r--bdep/config.hxx5
1 files changed, 4 insertions, 1 deletions
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<configuration>
cmd_config_add (const common_options&,