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

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

Issue 138623002: Enable re-export in docgen. Work in progress. More to come. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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/barback/lib/barback.dart ('k') | pkg/docgen/lib/dart2yaml.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 7a19f6524fe014d220b915086be3967833346622..7be77b94cdf9edb586d0f0017c063cd832b6606c 100644
--- a/pkg/docgen/bin/docgen.dart
+++ b/pkg/docgen/bin/docgen.dart
@@ -17,7 +17,6 @@ List<String> excludedLibraries = [];
* classes, and members.
*/
void main(List<String> arguments) {
- logger.onRecord.listen((record) => print(record.message));
var results = _initArgParser().parse(arguments);
var includeSdk = results['parse-sdk'] || results['include-sdk'];
@@ -48,8 +47,8 @@ ArgParser _initArgParser() {
negatable: false,
callback: (help) {
if (help) {
- logger.info(parser.getUsage());
- logger.info(USAGE);
+ print(parser.getUsage());
+ print('Usage: dart docgen.dart [OPTIONS] fooDir/barFile');
exit(0);
}
});
« no previous file with comments | « pkg/barback/lib/barback.dart ('k') | pkg/docgen/lib/dart2yaml.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698