[clang-tools-extra] r247792 - [clang-tidy] Improve the help text for -dump-config.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 16 06:21:57 PDT 2015
Author: alexfh
Date: Wed Sep 16 08:21:57 2015
New Revision: 247792
URL: http://llvm.org/viewvc/llvm-project?rev=247792&view=rev
Log:
[clang-tidy] Improve the help text for -dump-config.
Modified:
clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
Modified: clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp?rev=247792&r1=247791&r2=247792&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp Wed Sep 16 08:21:57 2015
@@ -121,9 +121,11 @@ static cl::opt<std::string> Config(
static cl::opt<bool> DumpConfig(
"dump-config",
cl::desc("Dumps configuration in the YAML format to stdout. This option\n"
- "should be used along with a file name (and '--' if the file is\n"
+ "can be used along with a file name (and '--' if the file is\n"
"outside of a project with configured compilation database). The\n"
- "configuration used for this file will be printed."),
+ "configuration used for this file will be printed.\n"
+ "Use along with -checks=* to include configuration of all\n"
+ "checks.\n"),
cl::init(false), cl::cat(ClangTidyCategory));
static cl::opt<bool> EnableCheckProfile(
More information about the cfe-commits
mailing list