[erlang-bugs] Re: Missing init:get_args() function ?

Bengt Kleberg bengt.kleberg@REDACTED
Fri Apr 8 06:59:59 CEST 2011


Greetings,

init:get_args/0 is in the documentation, without restrictions. Therefore
this is a bug. Either in the code or the documentation.


ebngt

On Thu, 2011-04-07 at 22:32 +0200, PAILLEAU Eric wrote:
> Hello,
> 
> no answer to this ?
> 
> Should init:get_args/0 not any more used ?
> 
> Regards.
> 
> Le 31/03/2011 21:53, PAILLEAU Eric a écrit :
> > $> erl -sname titi -config toto
> > 
> > Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0]
> > [hipe] [kernel-poll:false]
> > 
> > Eshell V5.8.3  (abort with ^G)
> > 1> init:get_args().
> > ** exception error: undefined function init:get_args/0
> > 
> > while
> > 
> > 2> init:get_plain_arguments().
> > []
> > 
> > Looks like init:get_args() does not exists while still in last
> > documentation.
> > 
> > Did I miss something in doc, or is it a bug ?
> > 
> > Regards.
> > _______________________________________________
> > erlang-bugs mailing list
> > erlang-bugs@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-bugs
> > 
> 
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs




More information about the erlang-bugs mailing list