<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
An afterthought:<br>
Wouldn't it be useful if erl would warn about incorrect options
passed?<br>
IMO, it could reduce time to find some silly errors (like my own :)
).<br>
<br>
<div class="moz-cite-prefix">On 05/19/2017 12:24 PM, Dmytro
Lytovchenko wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOUb9CEQtemS+PsjHhztPd9ndh-B3CwGrV=H_QO=VEvsS1TjGA@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Right, i always confuse -setcookie and -cookie
<div>Not the nicest user experience with replacing a name with a
similar name, and no actual error when the wrong one is used</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-19 11:18 GMT+02:00 Salikhov
Dinislam <span dir="ltr"><<a
href="mailto:Dinislam.Salikhov@kaspersky.com"
target="_blank" moz-do-not-send="true">Dinislam.Salikhov@kaspersky.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class=""> >
The correct command line argument is -cookie, single
minus<br>
> -setcookie is deprecated<br>
<br>
</span><a
class="m_-312844022356626085moz-txt-link-freetext"
href="http://erlang.org/doc/man/erl.html"
target="_blank" moz-do-not-send="true">http://erlang.org/doc/man/erl.<wbr>html</a>
says that <strong><span class="m_-312844022356626085code">-cookie</span></strong><span
class="m_-312844022356626085code"> is "</span>obsolete
flag without any effect".<span class=""><br>
<br>
> Also you have a typo in it — -setcoo<b><u>ke<br>
<br>
</u></b></span>Ah, you're right. My bad. Thank you.<span
class=""><br>
<br>
<div class="m_-312844022356626085moz-cite-prefix">On
05/19/2017 12:13 PM, Dmytro Lytovchenko wrote:<br>
</div>
</span>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">The correct command line argument is
-cookie, single minus
<div>-setcookie is deprecated</div>
<div>Also you have a typo in it — -setcoo<b><u>ke</u></b></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-19 11:06
GMT+02:00 Salikhov Dinislam <span dir="ltr"><<a
href="mailto:Dinislam.Salikhov@kaspersky.com" target="_blank"
moz-do-not-send="true">Dinislam.Salikhov@kaspersky.<wbr>com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hello,<br>
<br>
Is there a way to prevent erl from creating
$HOME/.erlang.cookie?<br>
I run it as follows:<br>
erl -sname test_name -setcooke
placeholder_cookie<br>
And VM creates ~/.erlang.cookie with some
random content.<span
class="m_-312844022356626085HOEnZb"><font
color="#888888"><br>
<br>
-- <br>
Dinislam Salikhov | Senior Developer |
Kaspersky Lab<br>
39A/2 Leningradskoe shosse, Moscow,
125212, Russia | <a
href="http://www.kaspersky.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">www.kaspersky.com</a><br>
<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a
href="mailto:erlang-questions@erlang.org"
target="_blank" moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="m_-312844022356626085moz-signature" cols="72">--
Dinislam Salikhov | Senior Developer | Kaspersky Lab
39A/2 Leningradskoe shosse, Moscow, 125212, Russia | <a class="m_-312844022356626085moz-txt-link-abbreviated" href="http://www.kaspersky.com" target="_blank" moz-do-not-send="true">www.kaspersky.com</a></pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dinislam Salikhov | Senior Developer | Kaspersky Lab
39A/2 Leningradskoe shosse, Moscow, 125212, Russia | <a class="moz-txt-link-abbreviated" href="http://www.kaspersky.com">www.kaspersky.com</a></pre>
</body>
</html>