bin/wbench in wbench-1.0.0 vs bin/wbench in wbench-1.1.0
- old
+ new
@@ -23,11 +23,15 @@
opts.on("-u", "--user-agent [USER AGENT]", "Set the user-agent (default: browsers' default user-agent value)") do |user_agent|
options[:user_agent] = user_agent
end
- opts.on("-c", "--no-color", "Disable color output") do
+ opts.on("-nc", "--no-color", "Disable color output") do
options[:color_output] = false
+ end
+
+ opts.on("-c", "--cookie [COOKIE]", "Set the cookie (default: browsers' default cookie value)") do |cookie|
+ options[:cookie] = cookie
end
end.parse!
end
if options.has_key?(:color_output)