From b6cd952fc4786d93d2fdc3c1742b53e476d2358e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 14 Mar 2014 13:05:24 -0700 Subject: [PATCH] commands/status: target for machine readable [GH-3218] --- CHANGELOG.md | 1 + plugins/commands/status/command.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7487e50b3..8a9ab575d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/plugins/commands/status/command.rb b/plugins/commands/status/command.rb index f26ee6285..03b0aee68 100644 --- a/plugins/commands/status/command.rb +++ b/plugins/commands/status/command.rb @@ -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)