[clang-tidy] Update docs and help message
llvm-svn: 299651
diff --git a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
index 1114ff3..04baa7b 100644
--- a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
+++ b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
@@ -35,12 +35,13 @@
option, command-line option takes precedence. The effective
configuration can be inspected using -dump-config:
- $ clang-tidy -dump-config - --
+ $ clang-tidy -dump-config
---
Checks: '-*,some-check'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
+ FormatStyle: none
User: user
CheckOptions:
- key: some-check.SomeOption
@@ -131,6 +132,8 @@
- 'llvm', 'google', 'webkit', 'mozilla'
See clang-format documentation for the up-to-date
information about formatting styles and options.
+This option overrides the 'FormatStyle` option in
+.clang-tidy file, if any.
)"),
cl::init("none"),
cl::cat(ClangTidyCategory));