Allow `vagrant (un)install plugin1 plugin2 plugin3`
This commit is contained in:
parent
5c4973beb8
commit
b53ae446d2
|
@ -16,8 +16,8 @@ module VagrantPlugins
|
|||
return if !argv
|
||||
raise Vagrant::Errors::CLIInvalidUsage, :help => opts.help.chomp if argv.length < 1
|
||||
|
||||
# Uninstall the gem
|
||||
action(Action.action_uninstall, :plugin_name => argv[0])
|
||||
# Uninstall the gems
|
||||
argv.each{ |gem| action(Action.action_uninstall, :plugin_name => gem) }
|
||||
|
||||
# Success, exit status 0
|
||||
0
|
||||
|
|
Loading…
Reference in New Issue