| Issue |
177284
|
| Summary |
Aligne settings in `apropos` output
|
| Labels |
lldb
|
| Assignees |
|
| Reporter |
JDevlieghere
|
Actual:
```
(lldb) apropos target
The following commands may relate to 'target':
_regexp-display -- Evaluate an _expression_ at every stop (see 'help target stop-hook'.)
disassemble -- Disassemble specified instructions in the current target. Defaults to the current function for the current thread and stack frame.
memory -- Commands for operating on memory in the current target process.
memory find -- Find a value in the memory of the current target process.
[...]
The following settings variables may relate to 'target':
target.x86-disassembly-flavor -- The default disassembly flavor to use for x86 or x86-64 targets.
target.objc-dynamic-class-extractor -- Configure how LLDB parses dynamic Objective-C class metadata. By default LLDB will choose the most appropriate method for the target OS.
target.launch-working-dir -- A default value for the working directory to use when launching processes. It is ignored when empty. This setting is only used when the target is launched. If you change this setting, the new value will only apply to subsequent launches. Commands that take an explicit
working directory will override this setting.
[...]
```
Expected:
```
(lldb) apropos target
The following commands may relate to 'target':
_regexp-display -- Evaluate an _expression_ at every stop (see 'help target stop-hook'.)
disassemble -- Disassemble specified instructions in the current target. Defaults to the current function for the current thread and stack frame.
memory -- Commands for operating on memory in the current target process.
memory find -- Find a value in the memory of the current target process.
[...]
The following settings variables may relate to 'target':
target.x86-disassembly-flavor -- The default disassembly flavor to use for x86 or x86-64 targets.
target.objc-dynamic-class-extractor -- Configure how LLDB parses dynamic Objective-C class metadata. By default LLDB will choose the most appropriate method for the target OS.
target.launch-working-dir -- A default value for the working directory to use when launching processes. It is ignored when empty. This setting is only used when the target is launched. If you change this setting, the new value will only apply to subsequent launches.
Commands that take an explicit orking directory will override this setting.
[...]
```
The logic to do this already exists for the commands. We should do the same for the settings because this is hard to read.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs