
4 Aug
2008
4 Aug
'08
1:03 a.m.
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