Update for llvm change.

llvm-svn: 312766
This commit is contained in:
Rafael Espindola 2017-09-08 00:01:26 +00:00
parent 721b71d532
commit 79d9a6964d
2 changed files with 6 additions and 2 deletions

View File

@ -351,8 +351,10 @@ int main(int argc, const char **argv) {
"together with <file>s, the files are edited in-place. Otherwise, the\n"
"result is written to the standard output.\n");
if (Help)
if (Help) {
cl::PrintHelpMessage();
return 0;
}
if (DumpConfig) {
llvm::Expected<clang::format::FormatStyle> FormatStyle =

View File

@ -931,8 +931,10 @@ int main(int argc, const char **argv) {
"one. The resulting file can also be unbundled into different files by \n"
"this tool if -unbundle is provided.\n");
if (Help)
if (Help) {
cl::PrintHelpMessage();
return 0;
}
bool Error = false;
if (Unbundle) {