https://bugs.llvm.org/show_bug.cgi?id=43258
Bug ID: 43258
Summary: Make it easier to find the definition for an alias
command
Product: lldb
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev@lists.llvm.org
Reporter: jing...@apple.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org
Currently to see the definition of a command alias, you have to run "help" on
the command, and scan down to the end of the page to see the definition. That
is not very obvious.
One option which came to mind is to have: "command alias name" - which is
currently an error - print the command alias of "name" if it exists. But that
wouldn't work for "command regex name" which enters you into the "enter the
regex substitution strings" IOHandler.
Another option is to add something to help, like:
(lldb) help --print-definition name
To print the definition of "name" if there is one. This could print regex
patterns, the alias mapping and maybe even the bodies of Python defined
commands...
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev