Index: sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
diff --git a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
index cc36155c00bfc5e3b3caa47b6ada6ea2f9dcb8a6..a3ce42f158d1a3291e34e88ed69ad021b76642ab 100644 |
--- a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
+++ b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
@@ -207,7 +207,7 @@ mainWithOptions(Options options) { |
final entrypoints = <Uri>[]; |
try { |
- final option = argParser.parse(args); |
+ final option = argParser.parse(args, parseAllOptions: true); |
// This checks to see if the root of all entrypoints is the same. |
// If it is not, then we display a warning, as package imports might fail. |