| Index: sdk/lib/_internal/pub/bin/pub.dart
|
| diff --git a/sdk/lib/_internal/pub/bin/pub.dart b/sdk/lib/_internal/pub/bin/pub.dart
|
| index 496a35b100bf610359b45799104e8056bd79693c..a10c09b62513a94192cd5bac1aaf07026f37b7c7 100644
|
| --- a/sdk/lib/_internal/pub/bin/pub.dart
|
| +++ b/sdk/lib/_internal/pub/bin/pub.dart
|
| @@ -45,16 +45,14 @@ void main(List<String> arguments) {
|
| }
|
|
|
| switch (options['verbosity']) {
|
| - case 'normal': log.showNormal(); break;
|
| - case 'io': log.showIO(); break;
|
| - case 'solver': log.showSolver(); break;
|
| - case 'all': log.showAll(); break;
|
| + case 'normal': log.verbosity = log.Verbosity.NORMAL; break;
|
| + case 'io': log.verbosity = log.Verbosity.IO; break;
|
| + case 'solver': log.verbosity = log.Verbosity.SOLVER; break;
|
| + case 'all': log.verbosity = log.Verbosity.ALL; break;
|
| default:
|
| // No specific verbosity given, so check for the shortcut.
|
| if (options['verbose']) {
|
| - log.showAll();
|
| - } else {
|
| - log.showNormal();
|
| + log.verbosity = log.Verbosity.ALL;
|
| }
|
| break;
|
| }
|
|
|