Permalink
Browse files

Merge pull request #6 from hcoyote/patch-1

Newer versions of slop seem to want the options set with = if they take ...
  • Loading branch information...
2 parents 0647908 + 39bd749 commit 9d30000eb2f46dd816894149b36252e3dfa0d56b @jasongill committed Aug 9, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 idrac-kvm.rb
View
@@ -31,11 +31,11 @@ def redtext(string)
puts help
exit
end
- on :b, :bounce, "Bounce server (optional)", :required => false, :optional => false
- on :l, :login, "Your username on bounce server (optional; defaults to #{ENV['USER']})", :default => ENV['USER'], :required => false, :optional => false
- on :s, :server, "Remote server IP (required)", :required => true, :optional => false
- on :u, :user, "Remote username (optional; defaults to root)", :default => "root", :required => false
- on :p, :password, "Remote password (required)", :required => true, :optional => false
+ on :b, :bounce=, "Bounce server (optional)", :required => false, :optional => false
+ on :l, :login=, "Your username on bounce server (optional; defaults to #{ENV['USER']})", :default => ENV['USER'], :required => false, :optional => false
+ on :s, :server=, "Remote server IP (required)", :required => true, :optional => false
+ on :u, :user=, "Remote username (optional; defaults to root)", :default => "root", :required => false
+ on :p, :password=, "Remote password (required)", :required => true, :optional => false
end
bounceServer, bouncePort = opts[:bounce].split(':')

0 comments on commit 9d30000

Please sign in to comment.