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

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: code review 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
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/test/cache/add/bad_version_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6b043547bcb6f5c17b2fc2bfc80a286167696f25 100644
--- a/sdk/lib/_internal/pub/lib/src/command.dart
+++ b/sdk/lib/_internal/pub/lib/src/command.dart
@@ -57,7 +57,7 @@ abstract class PubCommand {
buffer.write(_listCommands(mainCommands));
buffer.writeln();
buffer.writeln(
- 'Use "pub help [command]" for more information about a command.');
+ 'Run "pub help [command]" for more information about a command.');
buffer.writeln(
'See http://dartlang.org/tools/pub for detailed documentation.');
@@ -248,8 +248,9 @@ abstract class PubCommand {
buffer.write(_listCommands(subcommands));
}
+ buffer.writeln();
+ buffer.writeln('Run "pub help" to see global options.');
if (docUrl != null) {
- buffer.writeln();
buffer.writeln("See $docUrl for detailed documentation.");
}
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/test/cache/add/bad_version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698