Skip to content

Commit

Permalink
Fixed printing of scheduling commands in command-line tool output
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenchouca committed Apr 26, 2021
1 parent f292f7e commit 45ca20e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/taco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,13 @@ static void printCommandLine(ostream& os, int argc, char* argv[]) {
os << " \"" << argv[1] << "\"";
}
for (int i = 2; i < argc; i++) {
os << " " << argv[i];
os << " ";
std::string arg = argv[i];
if (arg.rfind("-s=", 0) == 0) {
arg.replace(0, 3, "-s=\"");
arg += "\"";
}
os << arg;
}
}

Expand Down

0 comments on commit 45ca20e

Please sign in to comment.