|
Boost Users : |
From: Aljaz (aljaz.fajmut_at_[hidden])
Date: 2008-08-03 21:03:40
Hello
I've been wondering how its possible to call a notifier function with an
option that doesnt require arguments.
Something like:
po::options_description desc("Allowed options");
desc.add_options()
("help", po::value<>()->notifier(&_help_function), "produce help
message");
Whats the proper way of doing this?
Many thanks in advance
Aljaz
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net