print version when removing a specific box

Example:

$ vagrant box remove --box-version 0.2.9 berendt/ubuntu-14.04-amd64
Removing box 'berendt/ubuntu-14.04-amd64' with provider 'virtualbox' in version '0.2.9'...
This commit is contained in:
Christian Berendt 2014-04-11 10:05:03 +02:00
parent b97c509c15
commit c43bd27ffe
2 changed files with 3 additions and 2 deletions

View File

@ -73,7 +73,8 @@ module Vagrant
env[:ui].info(I18n.t("vagrant.commands.box.removing",
:name => box.name,
:provider => box.provider))
:provider => box.provider,
:version => box.version))
box.destroy!
# Passes on the removed box to the rest of the middleware chain

View File

@ -1168,7 +1168,7 @@ en:
box:
no_installed_boxes: "There are no installed boxes! Use `vagrant box add` to add some."
removing: |-
Removing box '%{name}' with provider '%{provider}'...
Removing box '%{name}' with provider '%{provider}' in version '%{version}'...
destroy:
confirmation: "Are you sure you want to destroy the '%{name}' VM? [y/N] "
will_not_destroy: |-