[erlang-bugs] multiple -name argument

Tue Apr 29 00:03:29 CEST 2014

I passed by mistake two time -name argument with different values (or 
same value with same result), and no error, erl is running with node set 
to  !!!
I wonder if this is really normal, and probably a possible dangerous and 
silent issue.
Is there a valid reason for such behavior ?
Do other erl arguments behave the same ?
generally speaking, I expect that the last same argument is the one used 
by a program.
I did not see anything related to this in 'erl' documentation, or missed it.

# erl -name  -name 
Erlang/OTP 17 [erts-6.0] [source] [smp:2:2] [async-threads:10] [hipe] 

Eshell V6.0  (abort with ^G)
1> node().


More information about the erlang-bugs mailing list