Skip to content

Commit ca02603

Browse files
author
José Valim
committed
Stop parsing on -S, closes #1294
1 parent 4b06a2d commit ca02603

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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|-S)
46+
-e|-r|-pr|-pa|-pz|--remsh)
4747
S=2
4848
;;
4949
--detached|--hidden)

bin/elixir.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ for /f "usebackq" %%m in (`echo %par%^|findstr \+iex`) do (
9898
for /f "usebackq" %%m in (`echo %par%^|findstr \+compile`) do (
9999
goto:startloop
100100
)
101-
for /f "usebackq" %%m in (`echo %par%^|findstr \-[erS]`) do (
101+
for /f "usebackq" %%m in (`echo %par%^|findstr \-[er]`) do (
102102
shift
103103
goto:startloop
104104
)

0 commit comments

Comments
 (0)