bin/rawler in rawler-0.0.5 vs bin/rawler in rawler-0.0.6
- old
+ new
@@ -17,10 +17,11 @@
# opt :domain, "domain that you want to test", :type => :string
opt :username, "HTT Basic Username", :type => :string
opt :password, "HTT Basic Password", :type => :string
end
-domain = ARGV.shift
+# Use dup to unfrozen string
+domain = ARGV.shift.dup
if domain.nil?
Trollop::die "Domain name is mandatory. Type --help for help"
else
Trollop::options do