aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-06 11:40:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-06 11:40:18 +0200
commit314c8983b1029df5e8667a67449ee5a5621075b4 (patch)
treeb84f47fc7a98529fcd1f8f9498700437f7c3b4fb
parent9b368f482cfbc44398b2edb2477207d54fb7705f (diff)
Improve diagnostics
-rw-r--r--bpkg/pkg-build.cxx4
-rw-r--r--bpkg/pkg-drop.cxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index d9847f2..a6d51c9 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -1521,7 +1521,9 @@ namespace bpkg
if (o.print_only ())
cout << act << endl;
else if (verb)
- text << act;
+ // Print indented for better visual separation.
+ //
+ text << " " << act;
}
}
diff --git a/bpkg/pkg-drop.cxx b/bpkg/pkg-drop.cxx
index fa9f0bd..d623b68 100644
--- a/bpkg/pkg-drop.cxx
+++ b/bpkg/pkg-drop.cxx
@@ -317,7 +317,9 @@ namespace bpkg
if (print_only)
cout << "drop " << p->name << endl;
else if (verb)
- text << "drop " << p->name;
+ // Print indented for better visual separation.
+ //
+ text << " drop " << p->name;
}
if (print_only)