Files
clang-p2996/lldb/test/API/commands/command/script/cmd_file.lldb
jimingham 5784bf85bc Fix interactive use of "command script add". (#83350)
There was a think-o in a previous commit that made us only able to
define 1 line commands when using command script add interactively.

There was also no test for this feature, so I fixed the think-o and
added a test.
2024-02-28 17:26:29 -08:00

5 lines
126 B
Plaintext

command script add my_cmd
result.PutCString("My Command Result")
result.SetStatus(lldb.eReturnStatusSuccessFinishResult)
DONE