summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-10-01 19:59:14 +0000
committerCaroline Tice <ctice@apple.com>2010-10-01 19:59:14 +0000
commitdeaab2220e0ac8bc3f4e34c23f4f5cca378ad6a9 (patch)
tree3e28d80f6cd1737b60350b6766899048b3a5b0be /lldb/source/Commands/CommandObjectBreakpointCommand.cpp
parent3f6b753f9d51d7804d8629550a42851d1903e18f (diff)
downloadbcm5719-llvm-deaab2220e0ac8bc3f4e34c23f4f5cca378ad6a9.tar.gz
bcm5719-llvm-deaab2220e0ac8bc3f4e34c23f4f5cca378ad6a9.zip
Modify command options to use the new arguments mechanism. Now all command option
arguments are specified in a standardized way, will have a standardized name, and have functioning help. The next step is to start writing useful help for all the argument types. llvm-svn: 115335
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpointCommand.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
index 85971bd6a9b..4134deaef40 100644
--- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -48,19 +48,19 @@ CommandObjectBreakpointCommandAdd::CommandOptions::~CommandOptions ()
lldb::OptionDefinition
CommandObjectBreakpointCommandAdd::CommandOptions::g_option_table[] =
{
- { LLDB_OPT_SET_ALL, false, "one-liner", 'o', required_argument, NULL, 0, "<one-liner>",
+ { LLDB_OPT_SET_ALL, false, "one-liner", 'o', required_argument, NULL, NULL, eArgTypeOneLiner,
"Specify a one-line breakpoint command inline. Be sure to surround it with quotes." },
- { LLDB_OPT_SET_1, true, "script", 's', no_argument, NULL, 0, NULL,
+ { LLDB_OPT_SET_1, true, "script", 's', no_argument, NULL, NULL, eArgTypeNone,
"Write the breakpoint command script in the default scripting language."},
- { LLDB_OPT_SET_2, true, "python", 'p', no_argument, NULL, 0, NULL,
+ { LLDB_OPT_SET_2, true, "python", 'p', no_argument, NULL, NULL, eArgTypeNone,
"Write the breakpoint command script in the Python scripting language."},
-
- { LLDB_OPT_SET_3, true, "commands", 'c', no_argument, NULL, 0, NULL,
+
+ { LLDB_OPT_SET_3, true, "commands", 'c', no_argument, NULL, NULL, eArgTypeNone,
"Write the breakpoint command script using standard debugger commands."},
- { 0, false, NULL, 0, 0, NULL, 0, NULL, NULL }
+ { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
};
const lldb::OptionDefinition*
OpenPOWER on IntegriCloud