diff --git a/refresh.exp b/refresh.exp index 78babc3..1fe3539 100755 --- a/refresh.exp +++ b/refresh.exp @@ -1,7 +1,7 @@ #!/usr/bin/expect # This script will send the refresh command to a specified Mebe instance -# The name of the instance (given with --sname ) should be given as the first argument +# The name of the instance (given with --name ) should be given as the first argument # The second argument should be the local hostname of the node running Mebe # You need the expect program to use this script @@ -9,7 +9,7 @@ set timeout 10 set name [lindex $argv 0] set node [lindex $argv 1] -spawn iex --sname meberefresher +spawn iex --name meberefresher expect "iex\(" { send "" } expect -- " -->" { send "r '$name@$node' 'Elixir.IEx'\n" }