commands/plugin: list notes system gems
This commit is contained in:
parent
b5637da6c4
commit
5db58d6a33
|
@ -27,13 +27,12 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
specs.each do |spec|
|
specs.each do |spec|
|
||||||
env[:ui].info "#{spec.name} (#{spec.version})"
|
# Grab the plugin.
|
||||||
|
|
||||||
# Grab the plugin. Note that the check for whether it exists
|
|
||||||
# shouldn't be necessary since installed_specs checks that but
|
|
||||||
# its nice to be certain.
|
|
||||||
plugin = plugins[spec.name]
|
plugin = plugins[spec.name]
|
||||||
next if !plugin
|
|
||||||
|
system = ""
|
||||||
|
system = ", system" if plugin && plugin["system"]
|
||||||
|
env[:ui].info "#{spec.name} (#{spec.version}#{system})"
|
||||||
|
|
||||||
if plugin["gem_version"] && plugin["gem_version"] != ""
|
if plugin["gem_version"] && plugin["gem_version"] != ""
|
||||||
env[:ui].info(I18n.t(
|
env[:ui].info(I18n.t(
|
||||||
|
|
Loading…
Reference in New Issue