aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-01-04 18:22:31 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-01-04 18:22:31 +0100
commit58a1f7b9ced7c070ef44aaa0abdf93001dbd7738 (patch)
tree14935825dd949901afd2294c3a187450f08c470c /bin
parent66e02a5256cbd7519418e2409c4929a20b9e23ed (diff)
downloaddotty-58a1f7b9ced7c070ef44aaa0abdf93001dbd7738.tar.gz
dotty-58a1f7b9ced7c070ef44aaa0abdf93001dbd7738.tar.bz2
dotty-58a1f7b9ced7c070ef44aaa0abdf93001dbd7738.zip
bin/dotc: fix "-d" argument
It's already used to specify an output folder, don't try to interpret it as a shortcut for -debug
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dotc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dotc b/bin/dotc
index 7b90b5220..623a60eef 100755
--- a/bin/dotc
+++ b/bin/dotc
@@ -151,7 +151,7 @@ onExit () {
# Get debug set early
for arg in "$@"; do
- [[ $arg == "-d" ]] && debug=true
+ [[ $arg == "-debug" ]] && debug=true
done
# to reenable echo if we are interrupted before completing.
@@ -244,7 +244,7 @@ case "$1" in
-h|-help) usage; exit 1 ;;
-bootstrapped) bootstrapped=true && shift ;;
-v|-verbose) verbose=true && shift ;;
- -d|-debug) debug=true && shift ;;
+ -debug) debug=true && shift ;;
-q|-quiet) quiet=true && shift ;;
# Optimize for short-running applications, see https://github.com/lampepfl/dotty/issues/222