diff options
author | Jim Ingham <jingham@apple.com> | 2010-06-15 18:47:14 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-06-15 18:47:14 +0000 |
commit | 8651121c11e4b047924bafab305b7bec4395941b (patch) | |
tree | c49a0ff3ef8ed2de31b2c5d0db6f44d54890e296 /lldb/source/Commands/CommandObjectFile.cpp | |
parent | 5947573f391a156c8a74cc39c84d63ea19462566 (diff) | |
download | bcm5719-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/CommandObjectFile.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectFile.cpp b/lldb/source/Commands/CommandObjectFile.cpp index 01576c5b6d5..de40c6ee7fd 100644 --- a/lldb/source/Commands/CommandObjectFile.cpp +++ b/lldb/source/Commands/CommandObjectFile.cpp @@ -38,7 +38,7 @@ CommandObjectFile::CommandOptions::~CommandOptions () lldb::OptionDefinition CommandObjectFile::CommandOptions::g_option_table[] = { - { 0, false, "arch", 'a', required_argument, NULL, 0, "<arch>", "Specify the architecture to launch."}, + { LLDB_OPT_SET_1, false, "arch", 'a', required_argument, NULL, 0, "<arch>", "Specify the architecture to launch."}, { 0, false, NULL, 0, 0, NULL, 0, NULL, NULL } }; |