Boost logo

Boost Users :

Subject: [Boost-users] [program_options] multiple_occurrences exception
From: Sam Miller (samjmill_at_[hidden])
Date: 2009-11-06 11:00:22


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.

Thanks,
Sam


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