From 4b9c21b5a6212c553c28603666b11e94c50c0917 Mon Sep 17 00:00:00 2001 From: Marcel Hecko Date: Wed, 5 Jun 2013 14:10:24 +0200 Subject: [PATCH] [status command print formatting] the result line needs space between the name of the VM and short_description - otherwise the formatting of the output breaks when the name of the VM is too long - the name of the VM gets smashed together with the short_description rendering --- plugins/commands/status/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/status/command.rb b/plugins/commands/status/command.rb index 6c11ae400..90b7b8584 100644 --- a/plugins/commands/status/command.rb +++ b/plugins/commands/status/command.rb @@ -16,7 +16,7 @@ module VagrantPlugins results = [] with_target_vms(argv) do |machine| state = machine.state if !state - results << "#{machine.name.to_s.ljust(25)}#{machine.state.short_description} (#{machine.provider_name})" + results << "#{machine.name.to_s.ljust(25)} #{machine.state.short_description} (#{machine.provider_name})" end message = nil