[PATCH] D63133: [llvm-dwarfdump] Simplify --ignore-case help text and documentation and fix grammar error

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 06:50:45 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363066: [llvm-dwarfdump] Simplify --ignore-case help text and documentation (authored by jhenderson, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63133?vs=204018&id=204052#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63133/new/

https://reviews.llvm.org/D63133

Files:
  llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
  llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp


Index: llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
===================================================================
--- llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -141,10 +141,9 @@
               "-name option can be used instead."),
          value_desc("name"), cat(DwarfDumpCategory));
 static alias FindAlias("f", desc("Alias for -find."), aliasopt(Find));
-static opt<bool>
-    IgnoreCase("ignore-case",
-               desc("Ignore case distinctions in when searching by name."),
-               value_desc("i"), cat(DwarfDumpCategory));
+static opt<bool> IgnoreCase("ignore-case",
+                            desc("Ignore case distinctions when searching."),
+                            value_desc("i"), cat(DwarfDumpCategory));
 static alias IgnoreCaseAlias("i", desc("Alias for -ignore-case."),
                              aliasopt(IgnoreCase));
 static list<std::string> Name(
Index: llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
===================================================================
--- llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
+++ llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
@@ -53,8 +53,7 @@
 
 .. option:: -i, --ignore-case
 
-            Ignore case distinctions in when searching entries by name
-            or by regular expression.
+            Ignore case distinctions when searching.
 
 .. option:: -n <pattern>, --name=<pattern>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63133.204052.patch
Type: text/x-patch
Size: 1461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190611/c4fa2f46/attachment.bin>


More information about the llvm-commits mailing list