diff options
author | Jim Ingham <jingham@apple.com> | 2017-04-19 23:21:04 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2017-04-19 23:21:04 +0000 |
commit | aab5be050596d6423d1f48c89cb5e57321bc3931 (patch) | |
tree | b622e2f19f88a96c9b2896dbe6e0341154bd6c00 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | aa0cec7d6dbe602af9e0f9f0bb89eb750856baf2 (diff) | |
download | bcm5719-llvm-aab5be050596d6423d1f48c89cb5e57321bc3931.tar.gz bcm5719-llvm-aab5be050596d6423d1f48c89cb5e57321bc3931.zip |
Fix !N and !-N commands and add a test case.
<rdar://problem/31713267>
llvm-svn: 300785
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectCommands.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index 102010e8e6f..e39c0330b65 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -50,7 +50,11 @@ class CommandObjectCommandsHistory : public CommandObjectParsed { public: CommandObjectCommandsHistory(CommandInterpreter &interpreter) : CommandObjectParsed(interpreter, "command history", - "Dump the history of commands in this session.", + "Dump the history of commands in this session.\n" + "Commands in the history list can be run again " + "using \"!<INDEX>\". \"!-<OFFSET>\" will re-run " + "the command that is <OFFSET> commands from the end" + " of the list (counting the current command).", nullptr), m_options() {} |