[Lldb-commits] [lldb] r129897 - in /lldb/trunk: source/Interpreter/CommandInterpreter.cpp test/abbreviation_tests/TestAbbreviations.py test/alias_tests/TestAliases.py

Johnny Chen johnny.chen at apple.com
Wed Apr 20 17:39:18 PDT 2011


Author: johnny
Date: Wed Apr 20 19:39:18 2011
New Revision: 129897

URL: http://llvm.org/viewvc/llvm-project?rev=129897&view=rev
Log:
Fixed some more 'commands' to 'command' change.

Modified:
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp
    lldb/trunk/test/abbreviation_tests/TestAbbreviations.py
    lldb/trunk/test/alias_tests/TestAliases.py

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=129897&r1=129896&r2=129897&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Wed Apr 20 19:39:18 2011
@@ -163,7 +163,7 @@
     m_command_dict["apropos"]   = CommandObjectSP (new CommandObjectApropos (*this));
     m_command_dict["breakpoint"]= CommandObjectSP (new CommandObjectMultiwordBreakpoint (*this));
     //m_command_dict["call"]      = CommandObjectSP (new CommandObjectCall (*this));
-    m_command_dict["commands"]  = CommandObjectSP (new CommandObjectMultiwordCommands (*this));
+    m_command_dict["command"]   = CommandObjectSP (new CommandObjectMultiwordCommands (*this));
     m_command_dict["disassemble"] = CommandObjectSP (new CommandObjectDisassemble (*this));
     m_command_dict["expression"]= CommandObjectSP (new CommandObjectExpression (*this));
 //    m_command_dict["file"]      = CommandObjectSP (new CommandObjectFile (*this));
@@ -562,7 +562,7 @@
     if (m_alias_dict.size() > 0)
     {
         result.AppendMessage("The following is a list of your current command abbreviations "
-                             "(see 'help commands alias' for more info):");
+                             "(see 'help command alias' for more info):");
         result.AppendMessage("");
         max_len = FindLongestCommandWord (m_alias_dict);
 

Modified: lldb/trunk/test/abbreviation_tests/TestAbbreviations.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/abbreviation_tests/TestAbbreviations.py?rev=129897&r1=129896&r2=129897&view=diff
==============================================================================
--- lldb/trunk/test/abbreviation_tests/TestAbbreviations.py (original)
+++ lldb/trunk/test/abbreviation_tests/TestAbbreviations.py Wed Apr 20 19:39:18 2011
@@ -17,7 +17,7 @@
                     substrs = ['breakpoint command add',
                                'breakpoint command list',
                                'breakpoint list',
-                               'commands alias',
+                               'command alias',
                                'expression',
                                'script'])
 

Modified: lldb/trunk/test/alias_tests/TestAliases.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/alias_tests/TestAliases.py?rev=129897&r1=129896&r2=129897&view=diff
==============================================================================
--- lldb/trunk/test/alias_tests/TestAliases.py (original)
+++ lldb/trunk/test/alias_tests/TestAliases.py Wed Apr 20 19:39:18 2011
@@ -53,8 +53,8 @@
 #                     substrs = [ "hello" ])
 
 
-        self.runCmd ("commands alias alias commands alias")
-        self.runCmd ("commands alias unalias commands unalias")
+        self.runCmd ("command alias alias command alias")
+        self.runCmd ("command alias unalias command unalias")
 
         self.runCmd ("alias myrun process launch -t%1 --")
         self.runCmd ("alias bp breakpoint")





More information about the lldb-commits mailing list