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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/help.dart

Issue 122483003: Make "pub help" show global help. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
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];

Powered by Google App Engine
This is Rietveld 408576698