Permalink
Browse files

Newer versions of slop seem to want the options set with = if they ta…

…ke an argument
  • Loading branch information...
1 parent 0647908 commit 39bd74984614f1b35fef1e410b110cefd17c1436 @hcoyote hcoyote 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 39bd749

Please sign in to comment.