display version by default when listing boxes

example usage:

$ vagrant box list
berendt/ubuntu-14.04-amd64 (virtualbox) [0.1.3]
berendt/ubuntu-14.04-amd64 (virtualbox) [0.1.4]
berendt/ubuntu-14.04-amd64 (virtualbox) [0.1.5]

related to issue #3313
This commit is contained in:
Christian Berendt 2014-03-25 18:45:13 +01:00
parent f7adeadf8d
commit 50bf36e747
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module VagrantPlugins
# important for the user to know what boxes need to be upgraded # important for the user to know what boxes need to be upgraded
# and which don't, since we plan on doing that transparently. # and which don't, since we plan on doing that transparently.
boxes.each do |name, version, provider| boxes.each do |name, version, provider|
@env.ui.info("#{name.ljust(longest_box_length)} (#{provider})") @env.ui.info("#{name.ljust(longest_box_length)} (#{provider}) [#{version}]")
@env.ui.machine("box-name", name) @env.ui.machine("box-name", name)
@env.ui.machine("box-provider", provider) @env.ui.machine("box-provider", provider)