[erlang-bugs] dialyzer R15B02: outdated docs for -Wbehaviours option ?

Kostis Sagonas <>
Wed Nov 21 08:15:49 CET 2012


On 11/21/2012 06:51 AM, Joseph Wayne Norton wrote:
>
> Regarding dialyzer R15B02, I noticed the -Wbehaviours option is
> documented in the HTML and man pages. However, this option is not
> accepted by dialyzer and not present in the command help usage. It seems
> the docs haven't been updated.

What has happened is that this option became on by default in R15B02 and 
the user can only disable it, if desired. Do a 'dialyzer --help' and you 
will see:

   ....
   -Wno_behaviours
      Suppress warnings about behaviour callbacks which drift from the 
published
      recommended interfaces.
    ...

I do not know why the HTML documentation has not been updated, but we 
will try to correct this for R15B03.

Thanks for bringing this to our attention.

Kostis

> Excerpt from HTML documentation:
>
> *-Wbehaviours****
>     Include warnings about behaviour callbacks which drift from the
>     published recommended interfaces.
>
>
>
> $ dialyzer --version
> Dialyzer version v2.5.2
>
>
>
> _______________________________________________
> erlang-bugs mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-bugs



More information about the erlang-bugs mailing list