Skip to content

Commit

Permalink
[clangd] improve help message for limit-results
Browse files Browse the repository at this point in the history
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

llvm-svn: 361388
  • Loading branch information
kadircet authored and MrSidims committed May 24, 2019
1 parent 327eab7 commit 6d13d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/tool/ClangdMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static llvm::cl::opt<PCHStorageFlag> PCHStorage(
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(
Expand Down

0 comments on commit 6d13d6c

Please sign in to comment.