Skip to content

Commit

Permalink
Correct indentation
Browse files Browse the repository at this point in the history
This file was confusing to read on Github because part of it was indented with tabs. This patch consistently indents this file with spaces.
  • Loading branch information
schlueter committed May 6, 2016
1 parent 6cb22de commit 3d545bc
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions lib/vagrant-ip-show/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
module Vagrant
module IpShow
class Command < Vagrant.plugin('2', :command)
def self.synopsis
"show all VM ip addresses"
end
def self.synopsis
"show all VM ip addresses"
end

def execute
options = {}
opts = OptionParser.new do |o|
o.banner = "Usage: vagrant ip-show [vmname]"
o.separator ""
o.separator "Options:"
o.separator ""
end
def execute
options = {}
opts = OptionParser.new do |o|
o.banner = "Usage: vagrant ip-show [vmname]"
o.separator ""
o.separator "Options:"
o.separator ""
end

# Parse the options and return if we don't have any target.
argv = parse_options(opts)
return if !argv
# Parse the options and return if we don't have any target.
argv = parse_options(opts)
return if !argv

# Execute the actual SSH
with_target_vms(argv, single_target: true) do |vm|
Expand Down

0 comments on commit 3d545bc

Please sign in to comment.