Boost logo

Boost :

From: Matt Hurd (matt.hurd_at_[hidden])
Date: 2005-10-17 18:54:42


http://www.boost.org/doc/html/program_options/overview.html#id1247613

has the line

pd.add("output-file", 2).add_optional("input-file", -1);

which is not supported. Only void add(...) exists.

pd.add("output-file", 2)
pd.add("input-file", -1);

would be correct I think.

matt.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk