Add support for Python object commands to return custom short and long help by implem...
authorEnrico Granata <egranata@apple.com>
Fri, 13 Mar 2015 22:22:28 +0000 (22:22 +0000)
committerEnrico Granata <egranata@apple.com>
Fri, 13 Mar 2015 22:22:28 +0000 (22:22 +0000)
commit6f79bb2d57218e2bd11bf26876d49a1276328bd3
tree8e1121c0e0e91538662d0d8b34ac329053ebc14c
parente7ce9ec398103c59b18993ef637fd1aab32c0710
Add support for Python object commands to return custom short and long help by implementing

def get_short_help(self)
def get_long_help(self)

methods on the command object

Also, add a test case for this feature

llvm-svn: 232224
lldb/include/lldb/Interpreter/CommandObject.h
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Interpreter/ScriptInterpreterPython.h
lldb/source/Commands/CommandObjectCommands.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Interpreter/ScriptInterpreterPython.cpp
lldb/test/functionalities/command_script/TestCommandScript.py
lldb/test/functionalities/command_script/py_import
lldb/test/functionalities/command_script/welcome.py