diff options
| author | Enrico Granata <granata.enrico@gmail.com> | 2011-08-17 01:30:04 +0000 |
|---|---|---|
| committer | Enrico Granata <granata.enrico@gmail.com> | 2011-08-17 01:30:04 +0000 |
| commit | 99f0b8f9351889901fbe7fd16104543bd4c1bbf1 (patch) | |
| tree | 1b8e0f09fe0711d4d6de2ebea80ccec1fee4796f /lldb/test/functionalities/alias/welcome.py | |
| parent | b3457c9eefdea3e9e9386628bc6cd31f85478172 (diff) | |
| download | bcm5719-llvm-99f0b8f9351889901fbe7fd16104543bd4c1bbf1.tar.gz bcm5719-llvm-99f0b8f9351889901fbe7fd16104543bd4c1bbf1.zip | |
When defining a scripted command, it is possible to provide a docstring and that will be used as the help text for the command
If no docstring is provided, a default help text is created
LLDB will refuse to create scripted commands if the scripting language is anything but Python
Some additional comments in AppleObjCRuntimeV2.cpp to describe the memory layout expected by the dynamic type lookup code
llvm-svn: 137801
Diffstat (limited to 'lldb/test/functionalities/alias/welcome.py')
| -rw-r--r-- | lldb/test/functionalities/alias/welcome.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/test/functionalities/alias/welcome.py b/lldb/test/functionalities/alias/welcome.py index db90e89ee4e..3b63c702327 100644 --- a/lldb/test/functionalities/alias/welcome.py +++ b/lldb/test/functionalities/alias/welcome.py @@ -1,6 +1,10 @@ import sys def welcome_impl(debugger, args, result, dict): + """ + Just a docstring for welcome_impl + A command that says hello to LLDB users + """ result.Printf('Hello ' + args + ', welcome to LLDB'); return None; |

