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

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

Issue 17943002: moved everything inside of the Docgen class into top level variables and functions. Also made most … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « no previous file | 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 ede238a2992dc718e2f544b5ed2f24a524a24e1c..f181a836dec9092f2bd244eb807809a53d6f5bc4 100644
--- a/pkg/docgen/bin/docgen.dart
+++ b/pkg/docgen/bin/docgen.dart
@@ -17,7 +17,7 @@ void main() {
logger.onRecord.listen((record) => print(record.message));
var results = initArgParser().parse(new Options().arguments);
if (results['help']) return;
- new Docgen(results);
+ docgen(results);
}
/**
@@ -31,7 +31,7 @@ ArgParser initArgParser() {
callback: (help) {
if (help) {
logger.info(parser.getUsage());
- logger.info(usage);
+ logger.info(USAGE);
}
});
parser.addFlag('verbose', abbr: 'v',
« no previous file with comments | « no previous file | pkg/docgen/lib/docgen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698