diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-30 15:26:19 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-30 16:03:00 -0700 |
commit | a925974bf166a83cfd45b0ca89c5c65d17f275cc (patch) | |
tree | e08143032d4c9afac1ed92aca0c34d6792ef24da /lldb/source/Commands/CommandObjectHelp.cpp | |
parent | 17b64e36e90ad05a32a99b9f5784b55310cc10e8 (diff) | |
download | llvm-a925974bf166a83cfd45b0ca89c5c65d17f275cc.zip llvm-a925974bf166a83cfd45b0ca89c5c65d17f275cc.tar.gz llvm-a925974bf166a83cfd45b0ca89c5c65d17f275cc.tar.bz2 |
Run clang-format on lldb/source/Commands (NFC)
These files had a lot of whitespace errors in them which was a
constant source of merge conflicts downstream.
Diffstat (limited to 'lldb/source/Commands/CommandObjectHelp.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectHelp.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectHelp.cpp b/lldb/source/Commands/CommandObjectHelp.cpp index c02a583..0799db94b 100644 --- a/lldb/source/Commands/CommandObjectHelp.cpp +++ b/lldb/source/Commands/CommandObjectHelp.cpp @@ -27,25 +27,27 @@ void CommandObjectHelp::GenerateAdditionalHelpAvenuesMessage( std::string command_str = command.str(); std::string prefix_str = prefix.str(); std::string subcommand_str = subcommand.str(); - const std::string &lookup_str = !subcommand_str.empty() ? subcommand_str : command_str; + const std::string &lookup_str = + !subcommand_str.empty() ? subcommand_str : command_str; s->Printf("'%s' is not a known command.\n", command_str.c_str()); s->Printf("Try '%shelp' to see a current list of commands.\n", prefix.str().c_str()); if (include_upropos) { s->Printf("Try '%sapropos %s' for a list of related commands.\n", - prefix_str.c_str(), lookup_str.c_str()); + prefix_str.c_str(), lookup_str.c_str()); } if (include_type_lookup) { s->Printf("Try '%stype lookup %s' for information on types, methods, " "functions, modules, etc.", - prefix_str.c_str(), lookup_str.c_str()); + prefix_str.c_str(), lookup_str.c_str()); } } CommandObjectHelp::CommandObjectHelp(CommandInterpreter &interpreter) - : CommandObjectParsed(interpreter, "help", "Show a list of all debugger " - "commands, or give details " - "about a specific command.", + : CommandObjectParsed(interpreter, "help", + "Show a list of all debugger " + "commands, or give details " + "about a specific command.", "help [<cmd-name>]"), m_options() { CommandArgumentEntry arg; |