Update GenerateAdditionalHelpAvenues to take StringRef.

llvm-svn: 287155
This commit is contained in:
Zachary Turner
2016-11-16 21:34:22 +00:00
parent add6ab5084
commit a49c2019f1
4 changed files with 24 additions and 19 deletions

View File

@@ -93,7 +93,7 @@ bool CommandObjectSyntax::DoExecute(Args &command,
const bool generate_apropos = true;
const bool generate_type_lookup = false;
CommandObjectHelp::GenerateAdditionalHelpAvenuesMessage(
&error_msg_stream, cmd_string.c_str(), nullptr, nullptr,
&error_msg_stream, cmd_string, "", "",
generate_apropos, generate_type_lookup);
result.AppendErrorWithFormat("%s", error_msg_stream.GetData());
result.SetStatus(eReturnStatusFailed);