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 f522854e307d7ecf22553ba6eab00e0b249d3796..6b1e126328412ef5ebffd4a7103b2c256bb27335 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command.dart |
@@ -13,12 +13,12 @@ import 'package:stack_trace/stack_trace.dart'; |
import 'command/cache.dart'; |
import 'command/deploy.dart'; |
+import 'command/get.dart'; |
import 'command/help.dart'; |
-import 'command/install.dart'; |
import 'command/lish.dart'; |
import 'command/list_package_dirs.dart'; |
import 'command/serve.dart'; |
-import 'command/update.dart'; |
+import 'command/upgrade.dart'; |
import 'command/uploader.dart'; |
import 'command/version.dart'; |
import 'entrypoint.dart'; |
@@ -48,7 +48,7 @@ abstract class PubCommand { |
/// this will be `true`. |
bool get hidden => false; |
- /// How to invoke this command (e.g. `"pub install [package]"`). |
+ /// How to invoke this command (e.g. `"pub get [package]"`). |
String get usage; |
/// Whether or not this command requires [entrypoint] to be defined. If false, |
@@ -176,12 +176,12 @@ _initCommands() { |
var commands = { |
'cache': new CacheCommand(), |
'deploy': new DeployCommand(), |
+ 'get': new GetCommand(), |
'help': new HelpCommand(), |
- 'install': new InstallCommand(), |
'list-package-dirs': new ListPackageDirsCommand(), |
'publish': new LishCommand(), |
'serve': new ServeCommand(), |
- 'update': new UpdateCommand(), |
+ 'upgrade': new UpgradeCommand(), |
'uploader': new UploaderCommand(), |
'version': new VersionCommand() |
}; |