Add 'unalias' to the commands sub-command dictionary.

llvm-svn: 113715
This commit is contained in:
Caroline Tice 2010-09-12 04:56:10 +00:00
parent 5172e6c35a
commit 86ddae50f6
1 changed files with 3 additions and 2 deletions

View File

@ -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 ()