[PATCH] D78089: [dexp] NFC: Change positional argument format

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 01:33:18 PDT 2020


kbobyrev created this revision.
kbobyrev added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous.
Herald added a project: clang.
kbobyrev updated this revision to Diff 257224.
kbobyrev added a comment.
kbobyrev edited the summary of this revision.

%s/PATH TO INDEX/INDEX FILE/g for clarity


Before:

  USAGE: dexp [options] --index-path Path to the index

After:

  USAGE: dexp [options] <INDEX FILE>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78089

Files:
  clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp


Index: clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
===================================================================
--- clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
+++ clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
@@ -26,8 +26,7 @@
 namespace clangd {
 namespace {
 
-llvm::cl::opt<std::string> IndexPath("index-path",
-                                     llvm::cl::desc("Path to the index"),
+llvm::cl::opt<std::string> IndexPath(llvm::cl::desc("<INDEX FILE>"),
                                      llvm::cl::Positional, llvm::cl::Required);
 
 llvm::cl::opt<std::string>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78089.257224.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200414/b737a961/attachment-0001.bin>


More information about the cfe-commits mailing list