Merge pull request #10374 from briancain/move-login-warning
Move login command warning
This commit is contained in:
commit
57ca89011c
|
@ -23,6 +23,10 @@ module Vagrant
|
|||
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
|
||||
|
|
|
@ -14,7 +14,6 @@ module VagrantPlugins
|
|||
command(:login) do
|
||||
require File.expand_path("../../cloud/auth/login", __FILE__)
|
||||
init!
|
||||
$stderr.puts "WARNING: This command has been deprecated in favor of `vagrant cloud auth login`"
|
||||
VagrantPlugins::CloudCommand::AuthCommand::Command::Login
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue