| Index: pkg/docgen/bin/docgen.dart
|
| diff --git a/pkg/docgen/bin/docgen.dart b/pkg/docgen/bin/docgen.dart
|
| index 82140a9face40c759087eb7ae5306a0727db9ee0..76cb9d45900d1f6ba8a784340ef0006e156b88c6 100644
|
| --- a/pkg/docgen/bin/docgen.dart
|
| +++ b/pkg/docgen/bin/docgen.dart
|
| @@ -14,9 +14,9 @@ import 'package:path/path.dart' as path;
|
| * Analyzes Dart files and generates a representation of included libraries,
|
| * classes, and members.
|
| */
|
| -void main() {
|
| +void main(List<String> arguments) {
|
| logger.onRecord.listen((record) => print(record.message));
|
| - var results = _initArgParser().parse(new Options().arguments);
|
| + var results = _initArgParser().parse(arguments);
|
|
|
| docgen(results.rest.map(path.normalize).toList(),
|
| packageRoot: results['package-root'],
|
|
|