On Tue, Dec 08, 2009 at 12:42:20PM -0600, Andy Ray Terrel wrote: > Am I doing something wrong here or is this a bug? > > dolfin/demo/parameters/cpp$ ./demo --foo 1.0 > > results in: > > Parsing command-line arguments... > terminate called after throwing an instance of > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::unknown_option> > >' > what(): unknown option foo > > > this is happens on both my mac and ubuntu boxes. > > -- Andy
You're doing it all wrong! It should be "bar", not "foo". -- Anders
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp