diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 00c3472444d2e..da545f18d9b15 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -616,7 +616,8 @@ void CommandInterpreter::LoadCommandDictionary() { std::unique_ptr break_regex_cmd_up( new CommandObjectRegexCommand( *this, "_regexp-break", - "Set a breakpoint using one of several shorthand formats.", + "Set a breakpoint using one of several shorthand formats, or list " + "the existing breakpoints if no arguments are provided.", "\n" "_regexp-break ::\n" " main.c:12:21 // Break at line 12 and column " @@ -643,7 +644,10 @@ void CommandInterpreter::LoadCommandDictionary() { " /break here/ // Break on source lines in " "current file\n" " // containing text 'break " - "here'.\n", + "here'.\n" + "_regexp-break\n" + " // List the existing " + "breakpoints\n", lldb::eSymbolCompletion | lldb::eSourceFileCompletion, false)); if (break_regex_cmd_up) {