
Hi Rutger,
I noticed that the documentation of the Boost.Program_options library has a small inconsistency regarding the add_options method.
In the tutorial section and in the Options Descriptions Component subsection of the Library Overview, add_options is documented in a form that is probably meant as the correct one:
desc.add_options() ("compression", po::value<int>(), "set compression level");
while on the other hand, under Library Overview/Options Description Component/Syntactic information it is written as
desc.add_options() ("compression", "compression level", value<string>());
, i.e., the 2nd and 3rd arguments are exemplified in a different (likely wrong) order.
Hi, this was indeed a problem with 1.32 release. I believe it's now fix, please see http://www.meta-comm.com/engineering/resources/cs-win32_metacomm/doc/html/pr... Thanks, Volodya