[clang-tools-extra] r361388 - [clangd] improve help message for limit-results
Kadir Cetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Wed May 22 07:19:40 PDT 2019
Author: kadircet
Date: Wed May 22 07:19:40 2019
New Revision: 361388
URL: http://llvm.org/viewvc/llvm-project?rev=361388&view=rev
Log:
[clangd] improve help message for limit-results
Summary: Make it clear that the default is 100.
Patch by Brennan Vincent(@umanwizard)!
Reviewers: #clang-tools-extra, kadircet
Reviewed By: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61865
Modified:
clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
Modified: clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp?rev=361388&r1=361387&r2=361388&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (original)
+++ clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp Wed May 22 07:19:40 2019
@@ -119,7 +119,7 @@ static llvm::cl::opt<PCHStorageFlag> PCH
static llvm::cl::opt<int> LimitResults(
"limit-results",
llvm::cl::desc("Limit the number of results returned by clangd. "
- "0 means no limit."),
+ "0 means no limit. (default=100)"),
llvm::cl::init(100));
static llvm::cl::opt<bool> RunSynchronously(
More information about the cfe-commits
mailing list