summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectFile.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/CommandObjectFile.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/CommandObjectFile.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectFile.cpp b/lldb/source/Commands/CommandObjectFile.cpp
index 4a560ab558e..db2bd769d4a 100644
--- a/lldb/source/Commands/CommandObjectFile.cpp
+++ b/lldb/source/Commands/CommandObjectFile.cpp
@@ -38,8 +38,8 @@ CommandObjectFile::CommandOptions::~CommandOptions ()
lldb::OptionDefinition
CommandObjectFile::CommandOptions::g_option_table[] =
{
- { LLDB_OPT_SET_1, false, "arch", 'a', required_argument, NULL, 0, "<arch>", "Specify the architecture to be used when the process is launched."},
- { 0, false, NULL, 0, 0, NULL, 0, NULL, NULL }
+ { LLDB_OPT_SET_1, false, "arch", 'a', required_argument, NULL, 0, eArgTypeArchitecture, "Specify the architecture to be used when the process is launched."},
+ { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
};
const lldb::OptionDefinition *
OpenPOWER on IntegriCloud