monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] killing popt


From: Timothy Brownawell
Subject: [Monotone-devel] killing popt
Date: Sat, 12 Aug 2006 22:17:50 -0500

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]