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

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

Issue 363573002: Add a line to pub usage output explaining how to see global options. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months 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.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command.dart b/sdk/lib/_internal/pub/lib/src/command.dart
index ccd54d0ea3d66c24aa87c4f618087b6223f0adf0..9ebf520897b3767df0293e2abdb691aaf0412158 100644
--- a/sdk/lib/_internal/pub/lib/src/command.dart
+++ b/sdk/lib/_internal/pub/lib/src/command.dart
@@ -248,8 +248,9 @@ abstract class PubCommand {
buffer.write(_listCommands(subcommands));
}
+ buffer.writeln();
+ buffer.writeln('Use "pub help" to see global options.');
if (docUrl != null) {
- buffer.writeln();
buffer.writeln("See $docUrl for detailed documentation.");
}

Powered by Google App Engine
This is Rietveld 408576698