aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2016-03-18 11:56:55 +0100
committerDmitry Petrashko <dark@d-d.me>2016-03-18 11:56:55 +0100
commita675cbf90ce3dee2773aec376125054edefb895f (patch)
treeec780378e97c93577e1a393a18078aaf39dc86f6
parente73ef776e1754f5e207a631d4c1750743b3d4a9b (diff)
parent19a13db9b2692a6e1ea73cff361315f143fcbfaf (diff)
downloaddotty-a675cbf90ce3dee2773aec376125054edefb895f.tar.gz
dotty-a675cbf90ce3dee2773aec376125054edefb895f.tar.bz2
dotty-a675cbf90ce3dee2773aec376125054edefb895f.zip
Merge pull request #1176 from liufengyun/master
fix command line processing error
-rwxr-xr-xbin/dotc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dotc b/bin/dotc
index 993f58df8..5798e0523 100755
--- a/bin/dotc
+++ b/bin/dotc
@@ -245,7 +245,7 @@ main_class=$CompilerMain
while [[ $# -gt 0 ]]; do
case "$1" in
--) shift; for arg; do addResidual "$arg"; done; set -- ;;
- -h|-help) usage; exit 1 ;;
+ -h|-help) help=true && shift ;;
-bootstrapped) bootstrapped=true && shift ;;
-v|-verbose) verbose=true && shift ;;
-debug) debug=true && shift ;;
@@ -259,7 +259,7 @@ case "$1" in
-run) main_class=$ReplMain && shift ;;
-fsc) main_class=$FscMain && shift ;;
-bootcp) bootcp=true && shift ;;
- -no-bootcp) unset bootcp && shift ;;
+ -nobootcp) unset bootcp && shift ;;
-colors) colors=true && shift ;;
-no-colors) unset colors && shift ;;
-jrebel) jrebel=true && shift ;;