Index: sdk/lib/_internal/pub/lib/src/command/cache_repair.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/cache_repair.dart b/sdk/lib/_internal/pub/lib/src/command/cache_repair.dart |
index d5b3212c9ffcb6b467a805b229363ec77be0a599..3e130e96904d6fa468a57b15a94a7f4011335d51 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/cache_repair.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/cache_repair.dart |
@@ -15,11 +15,13 @@ import '../utils.dart'; |
/// Handles the `cache repair` pub command. |
class CacheRepairCommand extends PubCommand { |
+ String get name => "repair"; |
String get description => "Reinstall cached packages."; |
- String get usage => "pub cache repair"; |
+ String get invocation => "pub cache repair"; |
String get docUrl => "http://dartlang.org/tools/pub/cmd/pub-cache.html"; |
+ bool get takesArguments => false; |
- Future onRun() async { |
+ Future run() async { |
var successes = 0; |
var failures = 0; |