diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-05-09 19:05:46 +0000 | 
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-05-09 19:05:46 +0000 | 
| commit | 3173e27e9f21a819ecef0138d6bd24764df2f3fb (patch) | |
| tree | 98a48b9dad326ea2c8ad9dc6f52f565ac9152977 /lldb | |
| parent | 0daf687e1d09f7b056cfa7ed598eef0fe9f8fad0 (diff) | |
| download | bcm5719-llvm-3173e27e9f21a819ecef0138d6bd24764df2f3fb.tar.gz bcm5719-llvm-3173e27e9f21a819ecef0138d6bd24764df2f3fb.zip  | |
Fix the wrong error message for "platform process info", i.e., with no pid(s) specified for the command.
llvm-svn: 131089
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/source/Commands/CommandObjectPlatform.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp index f9462f62421..ecc24a6a5a6 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);                          }          }  | 

