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

Unified Diff: utils/pub/command_version.dart

Issue 11363249: Fix error reporting on invalid command line args. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | « utils/pub/command_help.dart ('k') | utils/pub/pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_version.dart
diff --git a/utils/pub/command_version.dart b/utils/pub/command_version.dart
index a11e2dbb5ebc435292ee3ed24a06723e2c56f5a4..464d1a290f58a474ae844e6b2841480250ff846e 100644
--- a/utils/pub/command_version.dart
+++ b/utils/pub/command_version.dart
@@ -12,5 +12,7 @@ class VersionCommand extends PubCommand {
String get usage => 'pub version';
bool get requiresEntrypoint => false;
- Future onRun() => printVersion();
+ Future onRun() {
+ printVersion();
+ }
}
« no previous file with comments | « utils/pub/command_help.dart ('k') | utils/pub/pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698