Fix report and showindex header in bmanage
This commit is contained in:
@@ -153,7 +153,7 @@ namespace platform {
|
|||||||
return results.at(index).getFilename() + "->" + Paths::excel() + Paths::excelResults();
|
return results.at(index).getFilename() + "->" + Paths::excel() + Paths::excelResults();
|
||||||
} else {
|
} else {
|
||||||
ReportConsole reporter(data, compare);
|
ReportConsole reporter(data, compare);
|
||||||
std::cout << reporter.fileReport();
|
std::cout << Colors::CLRSCR() << reporter.fileReport();
|
||||||
return "Reporting " + results.at(index).getFilename();
|
return "Reporting " + results.at(index).getFilename();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -161,9 +161,8 @@ namespace platform {
|
|||||||
{
|
{
|
||||||
// Show a dataset result inside a report
|
// Show a dataset result inside a report
|
||||||
auto data = results.at(index).getJson();
|
auto data = results.at(index).getJson();
|
||||||
std::cout << Colors::YELLOW() << "Showing " << results.at(index).getFilename() << std::endl;
|
|
||||||
ReportConsole reporter(data, compare, idx);
|
ReportConsole reporter(data, compare, idx);
|
||||||
std::cout << reporter.fileReport();
|
std::cout << Colors::CLRSCR() << reporter.fileReport();
|
||||||
}
|
}
|
||||||
std::pair<std::string, std::string> ManageResults::sortList()
|
std::pair<std::string, std::string> ManageResults::sortList()
|
||||||
{
|
{
|
||||||
@@ -240,7 +239,7 @@ namespace platform {
|
|||||||
if (indexList)
|
if (indexList)
|
||||||
list(parser.getErrorMessage(), Colors::RED(), index_A, index_B);
|
list(parser.getErrorMessage(), Colors::RED(), index_A, index_B);
|
||||||
else
|
else
|
||||||
showIndex(index, subIndex);
|
report(index, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch (option) {
|
switch (option) {
|
||||||
|
Reference in New Issue
Block a user