Add a simple command: 'version' to the command interpreter, and an accompanying
test case test_help_version().
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122515 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectVersion.h b/source/Commands/CommandObjectVersion.h
new file mode 100644
index 0000000..3da2dea
--- /dev/null
+++ b/source/Commands/CommandObjectVersion.h
@@ -0,0 +1,42 @@
+//===-- CommandObjectVersion.h ----------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef liblldb_CommandObjectVersion_h_
+#define liblldb_CommandObjectVersion_h_
+
+// C Includes
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
+#include "lldb/Interpreter/CommandObject.h"
+
+namespace lldb_private {
+
+//-------------------------------------------------------------------------
+// CommandObjectVersion
+//-------------------------------------------------------------------------
+
+class CommandObjectVersion : public CommandObject
+{
+public:
+
+ CommandObjectVersion (CommandInterpreter &interpreter);
+
+ virtual
+ ~CommandObjectVersion ();
+
+ virtual bool
+ Execute (Args& args,
+ CommandReturnObject &result);
+
+};
+
+} // namespace lldb_private
+
+#endif // liblldb_CommandObjectVersion_h_