Commit 5779bbd
committed
Small improvements to -Xprint-args
- Don't print `-Xprint-args ...` itself
- Render a programattically added single output directory as -d.
Zinc sets the output directory in this way.
```
scala> import scala.tools.nsc._; val g = new Global(new Settings); g.settings.outputDirs.setSingleOutput("/tmp"); g.settings.printArgs.value = "-"; val run = new g.Run(); run.compileSources(g.newSourceFile("") :: Nil)
-d
/tmp
<console>
import scala.tools.nsc._
```1 parent 5ed8fd0 commit 5779bbd
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1446 | 1446 | | |
1447 | 1447 | | |
1448 | 1448 | | |
1449 | | - | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1450 | 1463 | | |
1451 | 1464 | | |
1452 | 1465 | | |
| |||
0 commit comments