Skip to content

Commit 59a1eae

Browse files
JDevliegheretomtor
authored andcommitted
[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
1 parent 56a2314 commit 59a1eae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Commands/CommandObjectTarget.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4885,9 +4885,9 @@ class CommandObjectTargetStopHookAdd : public CommandObjectParsed,
48854885
Command Based stop-hooks:
48864886
-------------------------
48874887
Stop hooks can run a list of lldb commands by providing one or more
4888-
--one-line-command options. The commands will get run in the order they are
4889-
added. Or you can provide no commands, in which case you will enter a
4890-
command editor where you can enter the commands to be run.
4888+
--one-liner options. The commands will get run in the order they are added.
4889+
Or you can provide no commands, in which case you will enter a command editor
4890+
where you can enter the commands to be run.
48914891
48924892
Python Based Stop Hooks:
48934893
------------------------

0 commit comments

Comments
 (0)