commands/status: target for machine readable [GH-3218]

This commit is contained in:
Mitchell Hashimoto 2014-03-14 13:05:24 -07:00
parent 862d9315ce
commit b6cd952fc4
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
BUG FIXES:
- core: Vagrant won't collide with newer versions of Bundler [GH-3193]
- commands/status: Machine readable output contains the target. [GH-3218]
- synced\_folders/smb: IDs of synced folders are hashed to work better
with VMware. [GH-3219]

View File

@ -29,7 +29,7 @@ module VagrantPlugins
results << "#{machine.name.to_s.ljust(max_name_length)} " +
"#{current_state.short_description} (#{machine.provider_name})"
opts = { scope: machine.name.to_s }
opts = { target: machine.name.to_s }
@env.ui.machine("provider-name", machine.provider_name, opts)
@env.ui.machine("state", current_state.id, opts)
@env.ui.machine("state-human-short", current_state.short_description, opts)