Skip to content

Commit 19a13db

Browse files
committed
fix command line processing error
1 parent 01269e9 commit 19a13db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/dotc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ main_class=$CompilerMain
245245
while [[ $# -gt 0 ]]; do
246246
case "$1" in
247247
--) shift; for arg; do addResidual "$arg"; done; set -- ;;
248-
-h|-help) usage; exit 1 ;;
248+
-h|-help) help=true && shift ;;
249249
-bootstrapped) bootstrapped=true && shift ;;
250250
-v|-verbose) verbose=true && shift ;;
251251
-debug) debug=true && shift ;;
@@ -259,7 +259,7 @@ case "$1" in
259259
-run) main_class=$ReplMain && shift ;;
260260
-fsc) main_class=$FscMain && shift ;;
261261
-bootcp) bootcp=true && shift ;;
262-
-no-bootcp) unset bootcp && shift ;;
262+
-nobootcp) unset bootcp && shift ;;
263263
-colors) colors=true && shift ;;
264264
-no-colors) unset colors && shift ;;
265265
-jrebel) jrebel=true && shift ;;

0 commit comments

Comments
 (0)