eddiep24 created this revision.
Herald added a project: All.
eddiep24 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

In the LDDB documentation you have the following sentence:

"The --format (which you can shorten to -f) option accepts a format name."

The link points to the wrong place.

I pointed it to the table that precedes the Type summary section.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151668

Files:
  lldb/docs/use/variable.rst


Index: lldb/docs/use/variable.rst
===================================================================
--- lldb/docs/use/variable.rst
+++ lldb/docs/use/variable.rst
@@ -132,8 +132,8 @@
 
 at the LLDB command line.
 
-The ``--format`` (which you can shorten to -f) option accepts a :doc:`format
-name<formatting>`. Then, you provide one or more types to which you want the
+The ``--format`` (which you can shorten to -f) option accepts a `format
+name`_. Then, you provide one or more types to which you want the
 new format applied.
 
 A frequent scenario is that your program has a typedef for a numeric type that
@@ -249,6 +249,8 @@
 Finally, this is a list of formatting options available out of which you can
 pick:
 
+.. _`format name`:
+
 
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
 | **Format name**                               | **Abbreviation** | 
**Description**                                                          |
 
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+


Index: lldb/docs/use/variable.rst
===================================================================
--- lldb/docs/use/variable.rst
+++ lldb/docs/use/variable.rst
@@ -132,8 +132,8 @@
 
 at the LLDB command line.
 
-The ``--format`` (which you can shorten to -f) option accepts a :doc:`format
-name<formatting>`. Then, you provide one or more types to which you want the
+The ``--format`` (which you can shorten to -f) option accepts a `format
+name`_. Then, you provide one or more types to which you want the
 new format applied.
 
 A frequent scenario is that your program has a typedef for a numeric type that
@@ -249,6 +249,8 @@
 Finally, this is a list of formatting options available out of which you can
 pick:
 
+.. _`format name`:
+
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
 | **Format name**                               | **Abbreviation** | **Description**                                                          |
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to