|
Boost Users : |
From: Edward Diener (eddielee_at_[hidden])
Date: 2006-02-13 22:33:13
Sohail Somani wrote:
>> -----Original Message-----
>> Edward Diener
>> Why not have the parameter as:
>>
>> "--first=11,12"
>>
>> instead of trying to create more than one parameter with the same
>> parameter name.
>>
>> Personally because of the type of solution I suggested, which is
>> probably the way most uses of such a multi-value value
>> parameter would
>> look like, with possibly a different separator than a comma, I do not
>> think a parameter library should have to cater to the same parameter
>> name more than once on the command line.
>
> What about parameters like -I for gcc? Utilities can add -I's to the
> command line. It would be an added headache to synchronize all these
> tools to eventually come up with a -I arg1,arg2,...
You are right about that. I think, then, you have to take this up with
the creator of the program_options library.
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