Boost logo

Boost Users :

Subject: Re: [Boost-users] [program_options] multiple_occurrences exception
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-06 12:01:41


Sam Miller wrote:

>
> Is there a way to determine which option triggers the multiple_occurences
> exception to be thrown when calling program_options::store? As an example
> I have a component that takes a positional --exe argument. It would be
> nice to know when the exception is throw if --exe had been specified
> earlier in the command line.

Sam,

I am afraid this is not presently possible.

- Volodya


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