Skip to content

Commit e71b5fe

Browse files
committed
Merge pull request #1015 from dotty-staging/fix/dotc-d
bin/dotc: fix "-d" argument
2 parents 71a599f + 58a1f7b commit e71b5fe

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
@@ -151,7 +151,7 @@ onExit () {
151151

152152
# Get debug set early
153153
for arg in "$@"; do
154-
[[ $arg == "-d" ]] && debug=true
154+
[[ $arg == "-debug" ]] && debug=true
155155
done
156156

157157
# to reenable echo if we are interrupted before completing.
@@ -244,7 +244,7 @@ case "$1" in
244244
-h|-help) usage; exit 1 ;;
245245
-bootstrapped) bootstrapped=true && shift ;;
246246
-v|-verbose) verbose=true && shift ;;
247-
-d|-debug) debug=true && shift ;;
247+
-debug) debug=true && shift ;;
248248
-q|-quiet) quiet=true && shift ;;
249249

250250
# Optimize for short-running applications, see https://github.com/lampepfl/dotty/issues/222

0 commit comments

Comments
 (0)