aboutsummaryrefslogtreecommitdiff
path: root/bpkg
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-07-20 17:29:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-07-20 17:30:05 +0300
commit4fcc6ab64c96c587a69c692a2cc52c3727938993 (patch)
treec7c84d06410917b14b227f306cc3729e7eaa3724 /bpkg
parentd4c243bde6d3043b6e04adf249f13e8275ddd528 (diff)
Remove redundant 'info:' prefix in cfg-create and cfg-link output
Diffstat (limited to 'bpkg')
-rw-r--r--bpkg/cfg-create.cxx10
-rw-r--r--bpkg/cfg-link.cxx10
2 files changed, 10 insertions, 10 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index 1757e9c..61d1ef8 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -284,15 +284,15 @@ namespace bpkg
diag_record dr (text);
if (o.existing ())
- dr << "initialized existing configuration in " << c;
+ dr << "initialized existing configuration in " << c << '\n';
else
- dr << "created new configuration in " << c;
+ dr << "created new configuration in " << c << '\n';
- dr << info << "uuid: " << cf->uuid
- << info << "type: " << cf->type;
+ dr << " uuid: " << cf->uuid << '\n'
+ << " type: " << cf->type;
if (cf->name)
- dr << info << "name: " << *cf->name;
+ dr << "\n name: " << *cf->name;
}
return 0;
diff --git a/bpkg/cfg-link.cxx b/bpkg/cfg-link.cxx
index 2b3f52c..5cbeef7 100644
--- a/bpkg/cfg-link.cxx
+++ b/bpkg/cfg-link.cxx
@@ -302,14 +302,14 @@ namespace bpkg
{
diag_record dr (text);
- dr << "linked configuration " << ld <<
- info << "uuid: " << lc->uuid <<
- info << "type: " << lc->type;
+ dr << "linked with configuration " << ld << '\n'
+ << " uuid: " << lc->uuid << '\n'
+ << " type: " << lc->type << '\n';
if (lc->name)
- dr << info << "name: " << *lc->name;
+ dr << " name: " << *lc->name << '\n';
- dr << info << "id: " << *lc->id;
+ dr << " id: " << *lc->id;
}
return 0;