
Hello,
I'm working on a personal project. Everything works using my own options processing function, but I am having a hard time implementing one specific aspect of my option processing code using the Boost program_options library.
My program has a flag (-j) which takes in two doubles as arguments. Currently, I can invoke my program like so:
./foo -j 1.0 2.0 3
where 3 is treated like a positional.
Because the -j option must consume several tokens, it seemed natural that I should use multitoken, like so:
vector<double> v;
po::options_description desc("Allowed options");
desc.add_options()
("jingle,j", po::value