dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #16946
Re: parsing parameters
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
Attachment:
signature.asc
Description: Digital signature
Follow ups
References