Skip to content

Commit 9ce82a1

Browse files
eddiep24DavidSpickett
authored andcommitted
Wrong link target in the documentation #62990
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. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D151668
1 parent 8e1d2f2 commit 9ce82a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/docs/use/variable.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ This is done by typing
129129

130130
at the LLDB command line.
131131

132-
The ``--format`` (which you can shorten to -f) option accepts a :doc:`format
133-
name<formatting>`. Then, you provide one or more types to which you want the
132+
The ``--format`` (which you can shorten to -f) option accepts a `format
133+
name`_. Then, you provide one or more types to which you want the
134134
new format applied.
135135

136136
A frequent scenario is that your program has a typedef for a numeric type that
@@ -246,6 +246,8 @@ format or till you let your program run again.
246246
Finally, this is a list of formatting options available out of which you can
247247
pick:
248248

249+
.. _`format name`:
250+
249251
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
250252
| **Format name** | **Abbreviation** | **Description** |
251253
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+

0 commit comments

Comments
 (0)