diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-07-09 11:24:34 +0200 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-07-09 11:24:34 +0200 |
commit | 5b2f44d1d79e57c38017e6b89e014a8c6c76e6a4 (patch) | |
tree | 4f628b5f0203364ea672e196ae59c29d3e5eccdf | |
parent | ad3cf4e4515602c672e6b1543212a111063939f0 (diff) | |
download | elixir-5b2f44d1d79e57c38017e6b89e014a8c6c76e6a4.tar.gz |
Ensure --app switch does not halt upcoming ones, closes #1398
-rwxr-xr-x | bin/elixir | 2 | ||||
-rw-r--r-- | bin/elixir.bat | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/elixir b/bin/elixir index 717534212..5bac3e364 100755 --- a/bin/elixir +++ b/bin/elixir @@ -43,7 +43,7 @@ while [ $I -le $# ]; do case "$PEEK" in -v|--compile|--no-halt|+iex|+compile) ;; - -e|-r|-pr|-pa|-pz|--remsh) + -e|-r|-pr|-pa|-pz|--remsh|--app) S=2 ;; --detached|--hidden) diff --git a/bin/elixir.bat b/bin/elixir.bat index f5d161021..8f7a8f24b 100644 --- a/bin/elixir.bat +++ b/bin/elixir.bat @@ -106,6 +106,10 @@ for /f "usebackq" %%m in (`echo %par%^|findstr \-p[raz]`) do ( shift goto:startloop ) +for /f "usebackq" %%m in (`echo %par%^|findstr \--app`) do ( + shift + goto:startloop +) for /f "usebackq" %%m in (`echo %par%^|findstr \--remsh`) do ( shift goto:startloop |