lib/vagrant/cli.rb in vagrant-unbundled-2.2.0.0 vs lib/vagrant/cli.rb in vagrant-unbundled-2.2.2.0
- old
+ new
@@ -21,9 +21,13 @@
# the help and exit.
help
return 0
end
+ if @sub_command == "login"
+ $stderr.puts "WARNING: This command has been deprecated and aliased to `vagrant cloud auth login`"
+ end
+
# If we reached this far then we must have a subcommand. If not,
# then we also just print the help and exit.
command_plugin = nil
if @sub_command
command_plugin = Vagrant.plugin("2").manager.commands[@sub_command.to_sym]