[PATCH] D50702: [clangd] NFC: Cleanup clangd help message

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 14 04:55:16 PDT 2018


kbobyrev created this revision.
kbobyrev added reviewers: ioeric, ilya-biryukov.
kbobyrev added a project: clang-tools-extra.
Herald added subscribers: arphaman, jkorous, MaskRay.

Add missed space, fix a typo.


https://reviews.llvm.org/D50702

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
@@ -147,7 +147,7 @@
 static llvm::cl::opt<bool> EnableIndex(
     "index",
     llvm::cl::desc("Enable index-based features such as global code completion "
-                   "and searching for symbols."
+                   "and searching for symbols. "
                    "Clang uses an index built from symbols in opened files"),
     llvm::cl::init(true));
 
@@ -160,7 +160,7 @@
 static llvm::cl::opt<bool> HeaderInsertionDecorators(
     "header-insertion-decorators",
     llvm::cl::desc("Prepend a circular dot or space before the completion "
-                   "label, depending on wether "
+                   "label, depending on whether "
                    "an include line will be inserted or not."),
     llvm::cl::init(true));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50702.160557.patch
Type: text/x-patch
Size: 967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180814/4383cda9/attachment.bin>


More information about the cfe-commits mailing list