Index: sdk/lib/_internal/pub/lib/src/command/help.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/help.dart b/sdk/lib/_internal/pub/lib/src/command/help.dart |
index f02841f8d47a4720d8a5ed7e8e4a973713c6eec3..91181754d3420882f9a398b0e5007598b224929c 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/help.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/help.dart |
@@ -20,7 +20,7 @@ class HelpCommand extends PubCommand { |
Future onRun() { |
if (commandOptions.rest.isEmpty) { |
- printUsage(); |
+ PubCommand.printGlobalUsage(); |
} else { |
var name = commandOptions.rest[0]; |
var command = PubCommand.commands[name]; |