summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-04-07 21:09:45 +0200
committerCarl Hetherington <cth@carlh.net>2023-04-07 21:09:45 +0200
commit2cb2078282c8b799d7a0d0016e1518f1a4b55af1 (patch)
tree5e7b08c5efd4e002fd5d6c3e6938837071917e17
parentef41b0c235eaa9f02203fd8438873e951bf3de07 (diff)
Clarify success message from dcpverify a little.
-rw-r--r--tools/dcpverify.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/dcpverify.cc b/tools/dcpverify.cc
index db4b2bce..2c1b2159 100644
--- a/tools/dcpverify.cc
+++ b/tools/dcpverify.cc
@@ -200,10 +200,15 @@ main (int argc, char* argv[])
}
if (!failed && !quiet) {
- if (bv21_failed || warned) {
- cout << "\n";
+ if (bv21_failed && warned) {
+ cout << "\nDCP verified OK (but with Bv2.1 errors and warnings).\n";
+ } else if (bv21_failed) {
+ cout << "\nDCP verified OK (but with Bv2.1 errors).\n";
+ } else if (warned) {
+ cout << "\nDCP verified OK (but with warnings).\n";
+ } else {
+ cout << "DCP verified OK.\n";
}
- cout << "DCP verified OK.\n";
}
exit (failed ? EXIT_FAILURE : EXIT_SUCCESS);