Index: sdk/lib/_internal/pub/lib/src/dart.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/dart.dart b/sdk/lib/_internal/pub/lib/src/dart.dart |
index 612e2676cfe75fbf86a91fb225a5de1824ff215c..cc9146f307f5c928b4d96d1e095b6760b543a567 100644 |
--- a/sdk/lib/_internal/pub/lib/src/dart.dart |
+++ b/sdk/lib/_internal/pub/lib/src/dart.dart |
@@ -70,7 +70,7 @@ Future compile(String entrypoint, CompilerProvider provider, { |
if (analyzeAll) options.add('--analyze-all'); |
if (suppressWarnings) options.add('--suppress-warnings'); |
if (suppressHints) options.add('--suppress-hints'); |
- if (suppressPackageWarnings) options.add('--hide-package-warnings'); |
+ if (!suppressPackageWarnings) options.add('--show-package-warnings'); |
if (terse) options.add('--terse'); |
if (toDart) options.add('--output-type=dart'); |