Skip to content

Commit 7418a39

Browse files
committed
Adjust help message and add example
1 parent eccc519 commit 7418a39

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lldb/source/Interpreter/CommandInterpreter.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,8 @@ void CommandInterpreter::LoadCommandDictionary() {
616616
std::unique_ptr<CommandObjectRegexCommand> break_regex_cmd_up(
617617
new CommandObjectRegexCommand(
618618
*this, "_regexp-break",
619-
"List all breakpoints, or set a breakpoint using one of several "
620-
"shorthand formats.",
619+
"Set a breakpoint using one of several shorthand formats, or list "
620+
"the existing breakpoints if no arguments are provided.",
621621
"\n"
622622
"_regexp-break <filename>:<linenum>:<colnum>\n"
623623
" main.c:12:21 // Break at line 12 and column "
@@ -644,7 +644,10 @@ void CommandInterpreter::LoadCommandDictionary() {
644644
" /break here/ // Break on source lines in "
645645
"current file\n"
646646
" // containing text 'break "
647-
"here'.\n",
647+
"here'.\n"
648+
"_regexp-break\n"
649+
" // List the existing "
650+
"breakpoints\n",
648651
lldb::eSymbolCompletion | lldb::eSourceFileCompletion, false));
649652

650653
if (break_regex_cmd_up) {

0 commit comments

Comments
 (0)