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