nvm.experiment.boost-program-options works now, and I think it's ready for mainline. The only visible change (at least, the only change noticed by the testsuite) is that "--option=" doesn't work any more; "--option ''" is still fine. This appears to be a misfeature in boost::program_options.
Option values are accessed by option::<whatever>.given(vm) to determine if an option was given at all and option::<whatever>.get(vm) to return the value, with vm being a program_options::variable_map. This should allow app_state to reference a variable_map instead of having lots of members that have to be set by reading the options given (currently, a fair bit of monotone.cc is just copying values from a variables_map to the members in app_state). Tim -- Free public monotone hosting: http://mtn-host.prjek.net _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel