Print options, if requested.

llvm-svn: 261625
This commit is contained in:
Alexander Kornienko 2016-02-23 10:29:02 +00:00
parent 743199221b
commit c1694c6ab7

View File

@ -118,6 +118,8 @@ CommonOptionsParser::CommonOptionsParser(
Compilations.reset(FixedCompilationDatabase::loadFromCommandLine(argc, argv));
cl::ParseCommandLineOptions(argc, argv, Overview);
cl::PrintOptionValues();
SourcePathList = SourcePaths;
if ((OccurrencesFlag == cl::ZeroOrMore || OccurrencesFlag == cl::Optional) &&
SourcePathList.empty())