<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130997>130997</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Support `help <OptionValueType>` in LLDB
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lldb
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JDevlieghere
</td>
</tr>
</table>
<pre>
LLDB's help should cover the different OptionValue types. The `help` command already [supports](https://github.com/llvm/llvm-project/commit/bcae3cdbd029210e9ecf42f07d38cc4ed4a95230) argument values. We should do the same for option values.
This would be particularly useful for more complicated things like `format-string`. Let's say I have a setting that takes a format string:
```
(lldb) set show thread-format
thread-format (format-string) = "..."
```
Now I'm curious what a format string is, so the obvious thing to do is to use help:
```
(lldb) help format-string
error: 'format-string' is not a known command.
```
Even though they're [documented on the website](https://lldb.llvm.org/use/formatting.html#variables), it would be nice to have access to (as subset) through lldb itself.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUlE9v4zYQxT_N-DKIQJOy_hx0cDZrYIugPTRozxQ1kthQosChZPjbF5ST3SYtUCxgwDTAIX_v8flpZjvMRA2cHuH0dNBrHH1ofnmizVkaRgp0aH13a56fnx5BlowjuQV59Kvr0PiNAsaRsLN9T4HmiL8t0fr5D-1WwnhbiDN8GQmhEGkSCoHGT5OeO9QukO5uCKdHXpfFh8hwegJZjTEuDOoM8gLyMtg4rm1m_ATy4tz2_vWwBP8XmQjykk60adEaTcp0bSdkLY-CajJ9LntRdqoyJqcu1_VJKgGyRh2GdUrEW2LlDP-kd12d30Wxngh7H9Dvmr5vBHEGcX4ZLeN1398SLjpEa1ang7vhytSvbh-dfKCkeHHW6EgdxtHOA6Ozr7spvQ-Tjg8cg50HKESGzxR3o1nf8BuOeiPUyBSjnQeMo44Y9SsxarzP4tusOt-5oBBvH3EGWTnXtUkuU0zyrhjHZPvDfRjE-cNvBFl9RJI1gnpCkDLLMpDy8w3i_Ku_4jeQ5YRmDdavjNdE-YkPLYP8gny31rfbvnN3A6NPlltOi5Vpz9j_6dlz-BFVnCkEH0CdEWT5SUaZzp994nqd_XV-j2H2b0FfN5oxjn4dxgR7A1kGSjHtvNkjQx36eddxpZZtpP_KbQLNUlAzHwaQl5UJ5OVOld4yG-PkQKpNB6tbRwyyTg7Z-CNVszWUTLmnwBji3SOQlWbkteWUlTo96Q6brkQbmVy_p_TQNaqrVa0P1BzL_FgJUeTqMDZVQWVeFGSKstLVURWm6mVx1KooutNJmINtpJAnoY7yWCqRq6ynypha56XKj1VlWsgFTdq67woPlnml5qhEXZcHp1tyvLeKlPcnk6lfQrP_ddt1YMiFsxz5xwnRRkfN7_cueG8MBPXlH53yclsI1NfUI3bG1EqHNbjmpytjp2WQlzfgrZF_BwAA__-SSKKe">