diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectVersion.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectVersion.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectVersion.cpp b/lldb/source/Commands/CommandObjectVersion.cpp index 99b92e7a407..fd6119831a2 100644 --- a/lldb/source/Commands/CommandObjectVersion.cpp +++ b/lldb/source/Commands/CommandObjectVersion.cpp @@ -25,7 +25,7 @@ using namespace lldb_private; //------------------------------------------------------------------------- CommandObjectVersion::CommandObjectVersion (CommandInterpreter &interpreter) : - CommandObject (interpreter, "version", "Show version of LLDB debugger.", "version") + CommandObjectParsed (interpreter, "version", "Show version of LLDB debugger.", "version") { } @@ -34,11 +34,7 @@ CommandObjectVersion::~CommandObjectVersion () } bool -CommandObjectVersion::Execute -( - Args& args, - CommandReturnObject &result -) +CommandObjectVersion::DoExecute (Args& args, CommandReturnObject &result) { result.AppendMessageWithFormat ("%s\n", lldb_private::GetVersion()); result.SetStatus (eReturnStatusSuccessFinishResult); |