[Lldb-commits] [lldb] r116133 - /lldb/trunk/source/Commands/CommandObjectApropos.cpp

Greg Clayton gclayton at apple.com
Fri Oct 8 17:51:35 PDT 2010


Author: gclayton
Date: Fri Oct  8 19:51:35 2010
New Revision: 116133

URL: http://llvm.org/viewvc/llvm-project?rev=116133&view=rev
Log:
Fixed a missing space when using the "apropos" command and you don't find any matches.

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

Modified: lldb/trunk/source/Commands/CommandObjectApropos.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectApropos.cpp?rev=116133&r1=116132&r2=116133&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectApropos.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectApropos.cpp Fri Oct  8 19:51:35 2010
@@ -73,8 +73,7 @@
             m_interpreter.FindCommandsForApropos (search_word, commands_found, commands_help);
             if (commands_found.GetSize() == 0)
             {
-                result.AppendMessageWithFormat ("No commands found pertaining to '%s'.", search_word);
-                result.AppendMessage ("Try 'help' to see a complete list of debugger commands.");
+                result.AppendMessageWithFormat ("No commands found pertaining to '%s'. Try 'help' to see a complete list of debugger commands.", search_word);
             }
             else
             {





More information about the lldb-commits mailing list