[Lldb-commits] [lldb] r131089 - /lldb/trunk/source/Commands/CommandObjectPlatform.cpp

Johnny Chen johnny.chen at apple.com
Mon May 9 12:05:46 PDT 2011


Author: johnny
Date: Mon May  9 14:05:46 2011
New Revision: 131089

URL: http://llvm.org/viewvc/llvm-project?rev=131089&view=rev
Log:
Fix the wrong error message for "platform process info", i.e., with no pid(s) specified for the command.

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

Modified: lldb/trunk/source/Commands/CommandObjectPlatform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectPlatform.cpp?rev=131089&r1=131088&r2=131089&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectPlatform.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectPlatform.cpp Mon May  9 14:05:46 2011
@@ -831,8 +831,8 @@
             }
             else
             {
-                // Bad args
-                result.AppendError ("\"platform disconnect\" doesn't take any arguments");
+                // No args
+                result.AppendError ("one or more process id(s) must be specified");
                 result.SetStatus (eReturnStatusFailed);            
             }
         }





More information about the lldb-commits mailing list