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

Unified Diff: utils/pub/command_version.dart

Issue 10805017: Add a "help" command to Pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test failures Created 8 years, 5 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: utils/pub/command_version.dart
diff --git a/utils/pub/command_version.dart b/utils/pub/command_version.dart
index fa45a852bfd23cd43c1fd77c9a4b6d1d42644f7b..8a0099c6e774f0418bee31bacb1e7ca05988c821 100644
--- a/utils/pub/command_version.dart
+++ b/utils/pub/command_version.dart
@@ -10,5 +10,7 @@
class VersionCommand extends PubCommand {
String get description() => 'print Pub version';
+ String get usage() => 'pub version';
+
Future onRun() => printVersion();
}
« no previous file with comments | « utils/pub/command_update.dart ('k') | utils/pub/pub.dart » ('j') | utils/pub/pub.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698