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); |
} |
}); |