Subject: [boost] [program options] why is ->multitoken() not default for vector arguments?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-06-08 14:47:05
I have code like
bpo::options_description desc("Allowed options");
("help", "produce help message")
("file", bpo::value<std::string>(), ".sug file with graph
"two numbers denoting the new edge");
I had to add the ->multitoken to make a command like
./clique_tester.exe --new_edge 1 2 --file bug1.sug
This seems wierd. Why would I want a vector of values, yet only parse
one of the trailing argument?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk