[Lldb-commits] [lldb] r113715 - /lldb/trunk/source/Commands/CommandObjectCommands.cpp

Caroline Tice ctice at apple.com
Sat Sep 11 21:56:10 PDT 2010


Author: ctice
Date: Sat Sep 11 23:56:10 2010
New Revision: 113715

URL: http://llvm.org/viewvc/llvm-project?rev=113715&view=rev
Log:
Add 'unalias' to the commands sub-command dictionary.


Modified:
    lldb/trunk/source/Commands/CommandObjectCommands.cpp

Modified: lldb/trunk/source/Commands/CommandObjectCommands.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectCommands.cpp?rev=113715&r1=113714&r2=113715&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectCommands.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectCommands.cpp Sat Sep 11 23:56:10 2010
@@ -349,8 +349,8 @@
 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 @@
 {
     LoadSubCommand (interpreter, "source",   CommandObjectSP (new CommandObjectCommandsSource ()));
     LoadSubCommand (interpreter, "alias",   CommandObjectSP (new CommandObjectCommandsAlias ()));
+    LoadSubCommand (interpreter, "unalias", CommandObjectSP (new CommandObjectCommandsUnalias ()));
 }
 
 CommandObjectMultiwordCommands::~CommandObjectMultiwordCommands ()





More information about the lldb-commits mailing list