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

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

Issue 703203002: "Reverting 41571" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « editor/build/build.py ('k') | sdk/bin/dartdocgen » ('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 8b5e59d93255c88cbb5c203b3a719f2cd9458709..ac6b3645ad9427fc780d918f298dae170d6ec103 100644
--- a/pkg/docgen/bin/docgen.dart
+++ b/pkg/docgen/bin/docgen.dart
@@ -62,8 +62,8 @@ void main(List<String> arguments) {
* Print help if we are passed the help option or invalid arguments.
*/
void _printHelpAndExit() {
- print(_initArgParser().usage);
- print('Usage: dartdocgen [OPTIONS] fooDir/barFile');
+ print(_initArgParser().getUsage());
+ print('Usage: dart docgen.dart [OPTIONS] fooDir/barFile');
exit(0);
}
« no previous file with comments | « editor/build/build.py ('k') | sdk/bin/dartdocgen » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698