diff --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td index a1548cb6b443f..470f4bc471c3e 100644 --- a/lldb/source/Commands/Options.td +++ b/lldb/source/Commands/Options.td @@ -176,9 +176,9 @@ let Command = "breakpoint set" in { Desc<"Set the breakpoint on exceptions thrown by the specified language " "(without options, on throw but not catch.)">; def breakpoint_set_on_throw : Option<"on-throw", "w">, Group<10>, - Arg<"Boolean">, Desc<"Set the breakpoint on exception throW.">; + Arg<"Boolean">, Desc<"Set the breakpoint on exception throw.">; def breakpoint_set_on_catch : Option<"on-catch", "h">, Group<10>, - Arg<"Boolean">, Desc<"Set the breakpoint on exception catcH.">; + Arg<"Boolean">, Desc<"Set the breakpoint on exception catch.">; def breakpoint_set_language : Option<"language", "L">, GroupRange<3, 8>, Arg<"Language">, Desc<"Specifies the Language to use when interpreting the breakpoint's " diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py index ed901890f7dfe..e858e38035c86 100644 --- a/lldb/test/API/functionalities/completion/TestCompletion.py +++ b/lldb/test/API/functionalities/completion/TestCompletion.py @@ -539,20 +539,20 @@ def test_completion_description_command_options(self): """Test descriptions of command options""" # Short options self.check_completion_with_desc("breakpoint set -", [ - ["-h", "Set the breakpoint on exception catcH."], - ["-w", "Set the breakpoint on exception throW."] + ["-h", "Set the breakpoint on exception catch."], + ["-w", "Set the breakpoint on exception throw."] ]) # Long options. self.check_completion_with_desc("breakpoint set --", [ - ["--on-catch", "Set the breakpoint on exception catcH."], - ["--on-throw", "Set the breakpoint on exception throW."] + ["--on-catch", "Set the breakpoint on exception catch."], + ["--on-throw", "Set the breakpoint on exception throw."] ]) # Ambiguous long options. self.check_completion_with_desc("breakpoint set --on-", [ - ["--on-catch", "Set the breakpoint on exception catcH."], - ["--on-throw", "Set the breakpoint on exception throW."] + ["--on-catch", "Set the breakpoint on exception catch."], + ["--on-throw", "Set the breakpoint on exception throw."] ]) # Unknown long option.