← Back to team overview

dolfin team mailing list archive

parsing parameters

 

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



Follow ups