From 3173e27e9f21a819ecef0138d6bd24764df2f3fb Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 9 May 2011 19:05:46 +0000 Subject: [PATCH] Fix the wrong error message for "platform process info", i.e., with no pid(s) specified for the command. llvm-svn: 131089 --- lldb/source/Commands/CommandObjectPlatform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp index f9462f624212..ecc24a6a5a68 100644 --- a/lldb/source/Commands/CommandObjectPlatform.cpp +++ b/lldb/source/Commands/CommandObjectPlatform.cpp @@ -831,8 +831,8 @@ public: } 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); } }