summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectArgs.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-06-15 18:47:14 +0000
committerJim Ingham <jingham@apple.com>2010-06-15 18:47:14 +0000
commit8651121c11e4b047924bafab305b7bec4395941b (patch)
treec49a0ff3ef8ed2de31b2c5d0db6f44d54890e296 /lldb/source/Commands/CommandObjectArgs.cpp
parent5947573f391a156c8a74cc39c84d63ea19462566 (diff)
downloadbcm5719-llvm-8651121c11e4b047924bafab305b7bec4395941b.tar.gz
bcm5719-llvm-8651121c11e4b047924bafab305b7bec4395941b.zip
Change the Options parser over to use a mask rather than an ordinal for option sets.
Fixed the Disassemble arguments so you can't specify start address or name in multiple ways. Fixed the command line input so you can specify the filename without "-f" even if you use other options. llvm-svn: 106020
Diffstat (limited to 'lldb/source/Commands/CommandObjectArgs.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectArgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp
index 5e432d78ca7..f450e40c208 100644
--- a/lldb/source/Commands/CommandObjectArgs.cpp
+++ b/lldb/source/Commands/CommandObjectArgs.cpp
@@ -273,7 +273,7 @@ CommandObjectArgs::Execute(Args &command,
lldb::OptionDefinition
CommandObjectArgs::CommandOptions::g_option_table[] =
{
- { 0, false, "debug", 'g', no_argument, NULL, 0, NULL, "Enable verbose debug logging of the expression parsing and evaluation."},
+ { LLDB_OPT_SET_1, false, "debug", 'g', no_argument, NULL, 0, NULL, "Enable verbose debug logging of the expression parsing and evaluation."},
{ 0, false, NULL, 0, 0, NULL, NULL, NULL, NULL }
};
OpenPOWER on IntegriCloud