Add 'let' to the help message.
Summary: Add 'let' to the help message.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7940
llvm-svn: 230768
diff --git a/clang-tools-extra/clang-query/Query.cpp b/clang-tools-extra/clang-query/Query.cpp
index 3733120..3b49624 100644
--- a/clang-tools-extra/clang-query/Query.cpp
+++ b/clang-tools-extra/clang-query/Query.cpp
@@ -33,13 +33,17 @@
bool HelpQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const {
OS << "Available commands:\n\n"
- " match MATCHER, m MATCHER "
+ " match MATCHER, m MATCHER "
"Match the loaded ASTs against the given matcher.\n"
- " set bind-root (true|false) "
+ " let NAME MATCHER, l NAME MATCHER "
+ "Give a matcher expression a name, to be used later\n"
+ " "
+ "as part of other expressions.\n"
+ " set bind-root (true|false) "
"Set whether to bind the root matcher to \"root\".\n"
- " set output (diag|print|dump) "
+ " set output (diag|print|dump) "
"Set whether to print bindings as diagnostics,\n"
- " "
+ " "
"AST pretty prints or AST dumps.\n\n";
return true;
}