Skip to content

Commit 5b2f44d

Browse files
author
José Valim
committed
Ensure --app switch does not halt upcoming ones, closes #1398
1 parent ad3cf4e commit 5b2f44d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bin/elixir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ while [ $I -le $# ]; do
4343
case "$PEEK" in
4444
-v|--compile|--no-halt|+iex|+compile)
4545
;;
46-
-e|-r|-pr|-pa|-pz|--remsh)
46+
-e|-r|-pr|-pa|-pz|--remsh|--app)
4747
S=2
4848
;;
4949
--detached|--hidden)

bin/elixir.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ for /f "usebackq" %%m in (`echo %par%^|findstr \-p[raz]`) do (
106106
shift
107107
goto:startloop
108108
)
109+
for /f "usebackq" %%m in (`echo %par%^|findstr \--app`) do (
110+
shift
111+
goto:startloop
112+
)
109113
for /f "usebackq" %%m in (`echo %par%^|findstr \--remsh`) do (
110114
shift
111115
goto:startloop

0 commit comments

Comments
 (0)