Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3638)

Unified Diff: pkg/docgen/bin/docgen.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/csslib/test/run_all.dart ('k') | pkg/docgen/lib/docgen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'],
« no previous file with comments | « pkg/csslib/test/run_all.dart ('k') | pkg/docgen/lib/docgen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698