Update CHANGELOG and website

This commit is contained in:
Mitchell Hashimoto 2014-01-07 14:11:33 -08:00
parent b53ae446d2
commit 24a2892236
3 changed files with 9 additions and 3 deletions

View File

@ -28,6 +28,8 @@ IMPROVEMENTS:
needs to any type. [GH-2709]
- commands/plugin: `vagrant plugin update` will now update all installed
plugins, respecting any constraints set.
- commands/plugin: `vagrant plugin uninstall` can now uninstall multiple
plugins.
BUG FIXES:

View File

@ -8,7 +8,7 @@ module VagrantPlugins
class Uninstall < Base
def execute
opts = OptionParser.new do |o|
o.banner = "Usage: vagrant plugin uninstall <name> [-h]"
o.banner = "Usage: vagrant plugin uninstall <name> [<name2> <name3> ...] [-h]"
end
# Parse the options
@ -17,7 +17,9 @@ module VagrantPlugins
raise Vagrant::Errors::CLIInvalidUsage, :help => opts.help.chomp if argv.length < 1
# Uninstall the gems
argv.each{ |gem| action(Action.action_uninstall, :plugin_name => gem) }
argv.each do |gem|
action(Action.action_uninstall, :plugin_name => gem)
end
# Success, exit status 0
0

View File

@ -65,11 +65,13 @@ be shown, too.
# Plugin Uninstall
**Command: `vagrant plugin uninstall <name>`**
**Command: `vagrant plugin uninstall <name> [<name2> <name3> ...]`**
This uninstalls the plugin with the given name. Any dependencies of the
plugin will also be uninstalled assuming no other plugin needs them.
If multiple plugins are given, multiple plugins will be uninstalled.
# Plugin Update
**Command: `vagrant plugin update [<name>]`**