We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdf2bc commit 969a996Copy full SHA for 969a996
bin/dartdoc.dart
@@ -31,7 +31,7 @@ main(List<String> arguments) async {
31
}
32
33
if (args['help']) {
34
- _printHelp(parser);
+ _printHelpAndExit(parser);
35
36
37
if (args['version']) {
@@ -328,7 +328,7 @@ void _onProgress(var file) {
328
329
330
/// Print help if we are passed the help option.
331
-void _printHelp(ArgParser parser, {int exitCode: 0}) {
+void _printHelpAndExit(ArgParser parser, {int exitCode: 0}) {
332
print('Generate HTML documentation for Dart libraries.\n');
333
_printUsageAndExit(parser, exitCode: exitCode);
334
0 commit comments