Skip to content

Commit

Permalink
Merge pull request #129 from domarps/develop
Browse files Browse the repository at this point in the history
Fixes issue #126
  • Loading branch information
smassung committed Feb 5, 2016
2 parents 0e48629 + 7cbf872 commit 694d296
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tools/profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,11 @@ int main(int argc, char* argv[])

auto config = cpptoml::parse_file(argv[1]);
std::string file = argv[2];
if (!filesystem::file_exists(file))
{
std::cerr << "File does not exist" << std::endl;
return 1;
}
std::unordered_set<std::string> args{argv + 3, argv + argc};
bool all = args.find("--all") != args.end();

Expand Down

0 comments on commit 694d296

Please sign in to comment.