
2 Aug
2011
2 Aug
'11
8:33 a.m.
On Mon, Aug 1, 2011 at 4:27 PM, Diederick C. Niehorster
On Mon, Aug 1, 2011 at 18:20, Tow Mater
wrote: Can program_options be used to parse command line elements up to the first non-option that is not an option argument?
I'm not sure if there is direct support for gobbling only those that it program_options knows about, but you can get the ones it doesn't know about with collect_unregistered. Maybe thats all you need?
Unfortunately there could be elements after the first non-option that look like valid options. Thanks anyway.