diff options
author | Enrico Granata <granata.enrico@gmail.com> | 2011-09-09 17:49:36 +0000 |
---|---|---|
committer | Enrico Granata <granata.enrico@gmail.com> | 2011-09-09 17:49:36 +0000 |
commit | 08633eea20c2c329b8fd05681bfed1068b2e8363 (patch) | |
tree | bd22d28db399ae0fbdc7670b93843ec730551ae5 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 8a8ce4ad2f0fe5e4d8e891515a7b915dc6e31eaf (diff) | |
download | bcm5719-llvm-08633eea20c2c329b8fd05681bfed1068b2e8363.tar.gz bcm5719-llvm-08633eea20c2c329b8fd05681bfed1068b2e8363.zip |
Adding two new options to the 'help' command:
--show-aliases (-a) shows aliases for commands, as well as built-in commands
--hide-user-defined (-u) hides user defined commands
by default 'help' without arguments does not show aliases anymore. to see them, add --show-aliases
to have only built-in commands appear, use 'help --hide-user-defined' ; there is currently no way to hide
built-in commands from the help output
'help command' is not changed by this commit, and help is shown even if command is an alias and -a is not specified
llvm-svn: 139377
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 42024725780..923c3a8ffc4 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -701,7 +701,7 @@ CommandInterpreter::FindLongestCommandWord (CommandObject::CommandMap &dict) void CommandInterpreter::GetHelp (CommandReturnObject &result, - CommandTypes cmd_types) + uint32_t cmd_types) { CommandObject::CommandMap::const_iterator pos; uint32_t max_len = FindLongestCommandWord (m_command_dict); |