jingham added a comment. In D111965#3069568 <https://reviews.llvm.org/D111965#3069568>, @DavidSpickett wrote:
> I've seen commands print that they are an alias automatically: > > (lldb) help rbreak > Sets a breakpoint or set of breakpoints in the executable. > > Syntax: rbreak <cmd-options> > > <...> > > 'rbreak' is an abbreviation for 'breakpoint set -r %1' > > Is this not the case for regex commands? Showing the user a cryptic regex > isn't going to help them that much anyway, so nothing against doing this > change. A regex command is not necessarily an alias for anything. You can have a regex command that calls different lldb commands depending on the regex. So there's no way for a regex command to automatically show anything but the regex's. So if you want to provide useful help for regex commands, you kind of have to provide a hand-written help. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111965/new/ https://reviews.llvm.org/D111965 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits