From b53ae446d2fd1bb7977e2c473a4a51986c35f937 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Fri, 3 Jan 2014 17:31:15 -0600 Subject: [PATCH] Allow `vagrant (un)install plugin1 plugin2 plugin3` --- plugins/commands/plugin/command/uninstall.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands/plugin/command/uninstall.rb b/plugins/commands/plugin/command/uninstall.rb index bbe78bd1d..1dfead4b2 100644 --- a/plugins/commands/plugin/command/uninstall.rb +++ b/plugins/commands/plugin/command/uninstall.rb @@ -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