diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 5785fe23a..c069917ce 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -350,6 +350,8 @@ unsigned int CppCheck::check(const std::string &path) if (!mSettings.buildDir.empty()) { std::ofstream fout(clangcmd); fout << exe << " " << args2 << " " << redirect2 << std::endl; + } else if (mSettings.verbose && !mSettings.quiet) { + mErrorLogger.reportOut(exe + " " + args2); } std::string output2;