diff options
author | Enrico Granata <egranata@apple.com> | 2015-03-13 22:35:44 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-03-13 22:35:44 +0000 |
commit | 9370d2784f8dfad6c36cfa6478dc23c168da446d (patch) | |
tree | edfb03843c5af2d67f99e9aa27a964be989bb493 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | e72b71ff081409053c983309ef3b87b9fb2af0b0 (diff) | |
download | llvm-9370d2784f8dfad6c36cfa6478dc23c168da446d.zip llvm-9370d2784f8dfad6c36cfa6478dc23c168da446d.tar.gz llvm-9370d2784f8dfad6c36cfa6478dc23c168da446d.tar.bz2 |
If creating a Python command via a class, the help text is handled directly by the class object, no need for setting it manually via the cmdline
llvm-svn: 232228
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectCommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index 92e8670..99aed33 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -2027,7 +2027,7 @@ CommandObjectCommandsScriptAdd::CommandOptions::g_option_table[] = { { LLDB_OPT_SET_1, false, "function", 'f', OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypePythonFunction, "Name of the Python function to bind to this command name."}, { LLDB_OPT_SET_2, false, "class", 'c', OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypePythonClass, "Name of the Python class to bind to this command name."}, - { LLDB_OPT_SET_ALL, false, "help" , 'h', OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeHelpText, "The help text to display for this command."}, + { LLDB_OPT_SET_1, false, "help" , 'h', OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeHelpText, "The help text to display for this command."}, { LLDB_OPT_SET_ALL, false, "synchronicity", 's', OptionParser::eRequiredArgument, NULL, g_script_synchro_type, 0, eArgTypeScriptedCommandSynchronicity, "Set the synchronicity of this command's executions with regard to LLDB event system."}, { 0, false, NULL, 0, 0, NULL, NULL, 0, eArgTypeNone, NULL } }; |