Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Display number of results
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Apr 19, 2016
1 parent bc198cd commit e727313
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion donatallo-cli/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int main(int argc, char** argv) try {
std::cerr << "Gathering information... " << current << "/" << total << "\r";
});

std::cerr << "Gathering information... Done!" << std::endl;
std::cerr << "Gathering information... Done" << std::endl;

projects = db.Query(detectors);
}
Expand All @@ -131,6 +131,8 @@ int main(int argc, char** argv) try {
if (!wanted_methods.empty())
projects = projects.FilterByMethods(wanted_methods);

std::cerr << "Listing " << projects.size() << " project(s) of " << db.size() << " total in the database" << std::endl << std::endl;

// Display
for (const auto& project : projects) {
std::cout << " Project: " << project->name << std::endl;
Expand Down

0 comments on commit e727313

Please sign in to comment.