[PATCH] D63275: [docs][llvm-dwarfdump] Make the --show-parents and --show-children help text and docs more consistent and correct

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 05:57:25 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363380: [docs][llvm-dwarfdump] Make the --show-parents and --show-children help text… (authored by jhenderson, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63275?vs=204543&id=204753#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D63275

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
@@ -173,14 +173,14 @@
 static opt<bool>
     ShowChildren("show-children",
                  desc("Show a debug info entry's children when selectively "
-                      "printing with the =<offset> option."),
+                      "printing entries."),
                  cat(DwarfDumpCategory));
 static alias ShowChildrenAlias("c", desc("Alias for -show-children."),
                                aliasopt(ShowChildren));
 static opt<bool>
     ShowParents("show-parents",
                 desc("Show a debug info entry's parents when selectively "
-                     "printing with the =<offset> option."),
+                     "printing entries."),
                 cat(DwarfDumpCategory));
 static alias ShowParentsAlias("p", desc("Alias for -show-parents."),
                               aliasopt(ShowParents));
Index: llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
===================================================================
--- llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
+++ llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst
@@ -35,9 +35,9 @@
 
 .. option:: -c, --show-children
 
-            Show a debug info entry's children when using
-            the :option:`--debug-info`, :option:`--find`,
-            and :option:`--name` options.
+            Show a debug info entry's children when selectively printing with
+            the `=<offset>` argument of :option:`--debug-info`, or options such
+            as :option:`--find` or :option:`--name`.
 
 .. option:: --color
 
@@ -88,9 +88,9 @@
 
 .. option:: -p, --show-parents
 
-            Show a debug info entry's parent objects when using the
-            :option:`--debug-info`, :option:`--find`, and
-            :option:`--name` options.
+            Show a debug info entry's parents when selectively printing with
+            the `=<offset>` argument of :option:`--debug-info`, or options such
+            as :option:`--find` or :option:`--name`.
 
 .. option:: --parent-recurse-depth=<N>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63275.204753.patch
Type: text/x-patch
Size: 2229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/e5432f87/attachment.bin>


More information about the llvm-commits mailing list