Skip to content

Commit bf1082d

Browse files
authored
Merge pull request #2814 from dotty-staging/fix-verbose
Fix dotc script to correctly handle -verbose.
2 parents fed30e1 + 53cd244 commit bf1082d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/dotc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ case "$1" in
166166
--) shift; for arg; do addResidual "$arg"; done; set -- ;;
167167
-h|-help) help=true && shift ;;
168168
-bootstrapped) bootstrapped=true && shift ;;
169-
-v|-verbose) verbose=true && shift ;;
169+
-v|-verbose) verbose=true && addScala "-verbose" && shift ;;
170170
-debug) debug=true && shift ;;
171171
-q|-quiet) quiet=true && shift ;;
172172

dist/bin/dotc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ while [[ $# -gt 0 ]]; do
7575
case "$1" in
7676
--) shift; for arg; do addResidual "$arg"; done; set -- ;;
7777
-h|-help) help=true && shift ;;
78-
-v|-verbose) verbose=true && shift ;;
78+
-v|-verbose) verbose=true && addScala "-verbose" && shift ;;
7979
-debug) DEBUG="$DEBUG_STR" && shift ;;
8080
-q|-quiet) quiet=true && shift ;;
8181

0 commit comments

Comments
 (0)