[PATCH] D61865: [clangd] improve help message for limit-results

Brennan Vincent via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 13 10:29:23 PDT 2019


umanwizard created this revision.
umanwizard added a reviewer: clang-tools-extra.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.

Make it clear that the default is 100.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D61865

Files:
  clang-tools-extra/clangd/tool/ClangdMain.cpp


Index: clang-tools-extra/clangd/tool/ClangdMain.cpp
===================================================================
--- clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -117,7 +117,7 @@
 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(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61865.199295.patch
Type: text/x-patch
Size: 545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190513/3e32e456/attachment-0001.bin>


More information about the cfe-commits mailing list