Wording changes in the status command. VM => machine
This commit is contained in:
parent
8fe0f86dbd
commit
2cfc5986d2
|
@ -4,10 +4,8 @@ module VagrantPlugins
|
|||
module CommandStatus
|
||||
class Command < Vagrant.plugin("2", :command)
|
||||
def execute
|
||||
options = {}
|
||||
|
||||
opts = OptionParser.new do |opts|
|
||||
opts.banner = "Usage: vagrant status [vm-name]"
|
||||
opts = OptionParser.new do |o|
|
||||
o.banner = "Usage: vagrant status [machine-name]"
|
||||
end
|
||||
|
||||
# Parse the options
|
||||
|
@ -16,9 +14,9 @@ module VagrantPlugins
|
|||
|
||||
state = nil
|
||||
results = []
|
||||
with_target_vms(argv) do |vm|
|
||||
state = vm.state.to_s if !state
|
||||
results << "#{vm.name.to_s.ljust(25)}#{vm.state.to_s.gsub("_", " ")}"
|
||||
with_target_vms(argv) do |machine|
|
||||
state = machine.state.to_s if !state
|
||||
results << "#{machine.name.to_s.ljust(25)}#{machine.state.to_s.gsub("_", " ")}"
|
||||
end
|
||||
|
||||
state = results.length == 1 ? state : "listing"
|
||||
|
|
|
@ -336,7 +336,7 @@ en:
|
|||
VirtualBox, moving to a new computer, etc. Please consult VirtualBox
|
||||
for how to handle this issue.
|
||||
output: |-
|
||||
Current VM states:
|
||||
Current machine states:
|
||||
|
||||
%{states}
|
||||
|
||||
|
|
Loading…
Reference in New Issue