aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-09-12 04:56:10 +0000
committerCaroline Tice <ctice@apple.com>2010-09-12 04:56:10 +0000
commit86ddae50f6a4f814157e6405a4bfc9c7663a5dd9 (patch)
tree94d6a0b1df2668b492850fc8e1928a31379534bc /lldb/source/Commands/CommandObjectCommands.cpp
parent5172e6c35aeb85dfcf3fcb2d51b4a2f87ec69f1a (diff)
downloadllvm-86ddae50f6a4f814157e6405a4bfc9c7663a5dd9.zip
llvm-86ddae50f6a4f814157e6405a4bfc9c7663a5dd9.tar.gz
llvm-86ddae50f6a4f814157e6405a4bfc9c7663a5dd9.tar.bz2
Add 'unalias' to the commands sub-command dictionary.
llvm-svn: 113715
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp
index 0012355..b301d8f 100644
--- a/lldb/source/Commands/CommandObjectCommands.cpp
+++ b/lldb/source/Commands/CommandObjectCommands.cpp
@@ -349,8 +349,8 @@ class CommandObjectCommandsUnalias : public CommandObject
public:
CommandObjectCommandsUnalias () :
CommandObject ("commands unalias",
- "Allows the user to remove/delete a user-defined command abbreviation.",
- "unalias <alias-name-to-be-removed>")
+ "Allow the user to remove/delete a user-defined command abbreviation.",
+ "unalias <alias-name-to-be-removed>")
{
}
@@ -429,6 +429,7 @@ CommandObjectMultiwordCommands::CommandObjectMultiwordCommands (CommandInterpret
{
LoadSubCommand (interpreter, "source", CommandObjectSP (new CommandObjectCommandsSource ()));
LoadSubCommand (interpreter, "alias", CommandObjectSP (new CommandObjectCommandsAlias ()));
+ LoadSubCommand (interpreter, "unalias", CommandObjectSP (new CommandObjectCommandsUnalias ()));
}
CommandObjectMultiwordCommands::~CommandObjectMultiwordCommands ()