aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qpdf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'qpdf/qpdf.cc')
-rw-r--r--qpdf/qpdf.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 279eef33..7429881d 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -455,7 +455,7 @@ int main(int argc, char* argv[])
// 1 2 3 4 5 6 7 8
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
std::cout
- << whoami << " version 2.0.4" << std::endl
+ << whoami << " version 2.0.4+" << std::endl
<< "Copyright (c) 2005-2009 Jay Berkenbilt"
<< std::endl
<< "This software may be distributed under the terms of version 2 of the"
@@ -952,6 +952,8 @@ int main(int argc, char* argv[])
}
if (! pdf.getWarnings().empty())
{
+ std::cerr << whoami << ": operation succeeded with warnings;"
+ << " resulting file may have some problems" << std::endl;
exit(EXIT_WARNING);
}
}