aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-13 09:27:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-13 09:27:29 +0200
commite8ce49e5fda4432147aa86cf65c4c2479e52ee32 (patch)
tree9b71c3b6c6b25204bdf79bed2bdfdab3544000f1
parent4c0da45958a2797ddad935eb5f6b8629c7f424e8 (diff)
Improve host configuration creation diagnostics
-rw-r--r--bdep/config.cxx2
-rw-r--r--bdep/sync.cxx5
2 files changed, 3 insertions, 4 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx
index d7a8350..765032b 100644
--- a/bdep/config.cxx
+++ b/bdep/config.cxx
@@ -496,7 +496,7 @@ namespace bdep
dr << " @" << *name;
if (type != "target")
- dr << " --config-type " << type;
+ dr << " --type " << type;
dr << (def ? " --default" : " --no-default");
dr << (fwd ? " --forward" : " --no-forward");
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 28bd0ea..6f9670a 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -678,13 +678,12 @@ namespace bdep
//
dr << '\n'
<< "creating configuration of " << dep_type << " type in "
- << dep_dir << '\n'
- << "and associate it with projects:" << '\n';
+ << dep_dir << " and associating it with project(s):" << '\n';
for (const dir_path& d: dpt_prjs)
dr << " " << d << '\n';
- dr << "as if by executing commands:" << '\n';
+ dr << "as if by executing command(s):" << '\n';
dr << " ";
cmd_config_create_print (dr,