aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2025-06-10 15:34:54 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2025-06-10 15:36:55 -0700
commitc7063380205d8776e281f7a6603119aa8ea28c12 (patch)
treebf7a5591d5618d772e18077fa82753fb34161c13 /lldb/source/Commands/CommandObjectTarget.cpp
parent3a2bcd96e22721312c9d340c9122a3988dc1e222 (diff)
downloadllvm-c7063380205d8776e281f7a6603119aa8ea28c12.zip
llvm-c7063380205d8776e281f7a6603119aa8ea28c12.tar.gz
llvm-c7063380205d8776e281f7a6603119aa8ea28c12.tar.bz2
[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
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 21b2195..a4ced37 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -4885,9 +4885,9 @@ public:
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:
------------------------