forked from OSchip/llvm-project
One more fix for Printf. Apparently I fail at incremental builds.
llvm-svn: 287016
This commit is contained in:
parent
12c53897f3
commit
32b1c7f7f1
|
@ -76,13 +76,13 @@ bool CommandObjectSyntax::DoExecute(Args &command,
|
|||
if (all_okay && (cmd_obj != nullptr)) {
|
||||
Stream &output_strm = result.GetOutputStream();
|
||||
if (cmd_obj->GetOptions() != nullptr) {
|
||||
output_strm.Printf("\nSyntax: %s\n", cmd_obj->GetSyntax());
|
||||
output_strm.Printf("\nSyntax: %s\n", cmd_obj->GetSyntax().str().c_str());
|
||||
output_strm.Printf(
|
||||
"(Try 'help %s' for more information on command options syntax.)\n",
|
||||
cmd_obj->GetCommandName().str().c_str());
|
||||
result.SetStatus(eReturnStatusSuccessFinishNoResult);
|
||||
} else {
|
||||
output_strm.Printf("\nSyntax: %s\n", cmd_obj->GetSyntax());
|
||||
output_strm.Printf("\nSyntax: %s\n", cmd_obj->GetSyntax().str().c_str());
|
||||
result.SetStatus(eReturnStatusSuccessFinishNoResult);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue