commands/plugin: plugin-clean-sources

This commit is contained in:
Mitchell Hashimoto 2015-11-18 11:21:39 -08:00
parent 946d2fe154
commit 3d6b11375a
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@ module VagrantPlugins
puts
end
o.on("--plugin-clean-sources", String,
"Remove all plugin sources defined so far (including defaults)") do
options[:plugin_sources] = []
o.on("--plugin-clean-sources",
"Remove all plugin sources defined so far (including defaults)") do |clean|
options[:plugin_sources] = [] if clean
end
o.on("--plugin-source PLUGIN_SOURCE", String,