6 Jun
2007
6 Jun
'07
6:05 a.m.
hi, i hate rewriting getopts, but avaliable implimentations are always horrible, so there i was. then i decided to use boost::program_options .... all i want to do is something like..: translate --seq1 10 --seq2 10 13 --filter *.cpp *.hpp *.h where seq1 and seq2 can take any number of numbers between 0 and 255 anyway, if i use anything like desc.add_options ("seq1", po::value< std::vector<byte> >() -> multitoken() -> composing() -> notifier(seq1()), "byte sequence to find") it just returns all the tokens following the first option. is the library too stupid to stop eating tokens when it comes to another option? if so, what is its point? please... jono