count arguments

This commit is contained in:
Jarryd Beck 2016-01-22 17:44:00 +11:00
parent 3ce8cbd1ae
commit 81f1f440ed

View File

@ -71,7 +71,8 @@ int main(int argc, char* argv[])
if (apple)
{
std::cout << "Saw option a" << std::endl;
std::cout << "Saw option a " << options.count("a") << " times " <<
std::endl;
}
if (options.count("b"))