Author: Jonas Devlieghere Date: 2025-06-10T15:36:55-07:00 New Revision: c7063380205d8776e281f7a6603119aa8ea28c12
URL: https://github.com/llvm/llvm-project/commit/c7063380205d8776e281f7a6603119aa8ea28c12 DIFF: https://github.com/llvm/llvm-project/commit/c7063380205d8776e281f7a6603119aa8ea28c12.diff LOG: [lldb] Fix `target stop-hook add` help output The help output for `target stop-hook add` references non-existing option `--one-line-command`. The correct option is `--one-liner`: ``` -o <one-line-command> ( --one-liner <one-line-command> ) Add a command for the stop hook. Can be specified more than once, and commands will be run in the order they appear. ``` This commit fixes the help text. rdar://152730660 Added: Modified: lldb/source/Commands/CommandObjectTarget.cpp Removed: ################################################################################ diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 21b21954bbc90..a4ced37649ea0 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -4885,9 +4885,9 @@ class CommandObjectTargetStopHookAdd : public CommandObjectParsed, Command Based stop-hooks: ------------------------- Stop hooks can run a list of lldb commands by providing one or more - --one-line-command options. The commands will get run in the order they are - added. Or you can provide no commands, in which case you will enter a - command editor where you can enter the commands to be run. + --one-liner options. The commands will get run in the order they are added. + Or you can provide no commands, in which case you will enter a command editor + where you can enter the commands to be run. Python Based Stop Hooks: ------------------------ _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits