Fwd: [erlang-questions] Edoc crashes when called from command line

Vlad Dumitrescu <>
Thu Jul 29 13:05:41 CEST 2010

On Thu, Jul 29, 2010 at 12:58, Gleb Peregud <> wrote:
> On Thu, Jul 29, 2010 at 12:41, Vlad Dumitrescu <> wrote:
>> On Thu, Jul 29, 2010 at 12:30, Gleb Peregud <> wrote:
>>> ~/test$ erl -noinput -s edoc file a.erl
>> Could it be because the argument a.erl is sent to edoc:file as an atom?
> According to erl(3) if using -run arguments are passed as strings and
> this does not work neither as shown in the first message. And it was
> working with -run in R12 and R13 well.

Yes, but the docs say that the specified function "is assumed to be of
arity 1, taking the list [Arg1,Arg2,...] as argument", so you get
instead of


More information about the erlang-questions mailing list